23 #ifndef WATCHMAKER_T3D_BODY_H 24 #define WATCHMAKER_T3D_BODY_H 26 #include "watchmaker/types.h" 27 #include "watchmaker/t3d.h" 28 #include "watchmaker/3d/t3d_mesh.h" 35 return MeshTable.size();
37 uint32 NumCameras()
const {
38 return CameraTable.size();
40 uint16 NumPaths()
const {
41 return CameraPath.size();
43 uint32 NumLights()
const {
44 return LightTable.size();
46 uint16 NumPanels[T3D_MAX_LEVELS] = {};
47 uint16 NumNormals = 0;
48 uint16 NumVerticesNormals = 0;
49 uint16 NumPosLights()
const {
50 return PosLightTable.size();
54 uint32 NumTotVerts = 0;
58 uint32 NumMaterials()
const {
59 return MatTable.
size();
62 uint32 NumLightmaps = 0;
64 uint32 NumMirrorMaterials()
const {
65 return MirrorMatTable.
size();
72 return VBTable.
back();
75 for (uint i = 0; i < VBTable.
size(); i++) {
76 rDeleteVertexBuffer(*VBTable[i]);
81 return VBTable.
size();
90 t3dPAN *Panel[T3D_MAX_LEVELS] = {};
91 t3dF32 PanelHeight[T3D_MAX_LEVELS] = {};
93 t3dMESH *BlockMeshes[T3D_MAX_BLOCK_MESHES] = {};
96 void allocateNormals();
103 void populatePortalLists();
108 #endif // WATCHMAKER_T3D_BODY_H
Definition: 2d_stuff.h:30
void clear()
Definition: array.h:320
void push_back(const T &element)
Definition: array.h:180
Definition: t3d_body.h:32
Definition: t3d_mesh.h:30
size_type size() const
Definition: array.h:315
T & back()
Definition: array.h:229