22 #ifndef WINTERMUTE_XSKINMESH_LOADER_H 23 #define WINTERMUTE_XSKINMESH_LOADER_H 25 #include "engines/wintermute/base/gfx/xmodel.h" 27 #include "math/matrix4.h" 28 #include "math/vector3d.h" 37 class VideoTheoraPlayer;
42 Math::Matrix4 _offsetMatrix;
49 friend class XMeshOpenGL;
50 friend class XMeshOpenGLShader;
59 static const int kVertexComponentCount = 8;
60 static const int kPositionOffset = 5;
61 static const int kTextureCoordOffset = 0;
62 static const int kNormalOffset = 2;
65 static const uint32 kNullIndex = 0xFFFFFFFF;
68 bool adjacentEdge(uint16 index1, uint16 index2, uint16 index3, uint16 index4);
78 bool parseVertexDeclaration(
XFileData *xobj);
83 float *_vertexPositionData;
84 float *_vertexNormalData;
Definition: base_game.h:75
Definition: xskinmesh_loader.h:40
Definition: skin_mesh_helper.h:41
Definition: xfile_loader.h:158
Definition: xskinmesh_loader.h:47
Definition: xfile_loader.h:452
Definition: achievements_tables.h:27