ScummVM API documentation
Grim::Mesh Class Reference

Public Member Functions

void loadBinary (Common::SeekableReadStream *data, Material *materials[])
 
void loadText (TextSplitter *ts, Material *materials[])
 
void changeMaterials (Material *materials[])
 
void draw () const
 
void getBoundingBox (int *x1, int *y1, int *x2, int *y2) const
 
void update ()
 

Public Attributes

char _name [32]
 
float _radius
 
int _shadow
 
int _geometryMode
 
int _lightingMode
 
int _textureMode
 
int _numVertices
 
int * _materialid
 
float * _vertices
 
float * _verticesI
 
float * _vertNormals
 
int _numTextureVerts
 
float * _textureVerts
 
int _numFaces
 
MeshFace_faces
 
Math::Matrix4 _matrix
 
void * _userData
 

The documentation for this class was generated from the following file: