org.jagatoo.loaders.models.bsp
Class BSPVersionDataLoader46
java.lang.Object
org.jagatoo.loaders.models.bsp.BSPVersionDataLoader46
- All Implemented Interfaces:
- BSPVersionDataLoader
public class BSPVersionDataLoader46
- extends java.lang.Object
- implements BSPVersionDataLoader
Loads BSP-level-data for Q3-maps (version 46).
|
Method Summary |
void |
convertFacesToGeometries(BSPScenePrototype prototype,
AppearanceFactory appFactory,
GeometryFactory geomFactory,
boolean convertZup2Yup,
float worldScale)
|
NamedObject |
convertFaceToGeometry(int faceIndex,
BSPFace face,
BSPVertex[] vertices,
int[] meshVertices,
GeometryFactory geomFactory,
boolean convertZup2Yup,
float worldScale)
|
BSPScenePrototype |
loadPrototypeData(org.jagatoo.loaders.models.bsp.BSPFile bspFile,
BSPDirectory bspDir,
float worldScale,
AppearanceFactory appFactory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BSPVersionDataLoader46
public BSPVersionDataLoader46()
loadPrototypeData
public BSPScenePrototype loadPrototypeData(org.jagatoo.loaders.models.bsp.BSPFile bspFile,
BSPDirectory bspDir,
float worldScale,
AppearanceFactory appFactory)
throws java.io.IOException,
IncorrectFormatException,
ParsingException
-
- Specified by:
loadPrototypeData in interface BSPVersionDataLoader
- Throws:
java.io.IOException
IncorrectFormatException
ParsingException
convertFaceToGeometry
public NamedObject convertFaceToGeometry(int faceIndex,
BSPFace face,
BSPVertex[] vertices,
int[] meshVertices,
GeometryFactory geomFactory,
boolean convertZup2Yup,
float worldScale)
-
convertFacesToGeometries
public void convertFacesToGeometries(BSPScenePrototype prototype,
AppearanceFactory appFactory,
GeometryFactory geomFactory,
boolean convertZup2Yup,
float worldScale)
-
- Specified by:
convertFacesToGeometries in interface BSPVersionDataLoader