ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <model.h>

Collaboration diagram for Grim::Mesh:

List of all members.

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 ()
 Mesh ()
 ~Mesh ()

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

Private Member Functions

void sortFaces ()

Detailed Description

Definition at line 124 of file grim/model.h.


Constructor & Destructor Documentation

Grim::Mesh::Mesh (  ) 

Definition at line 393 of file grim/model.cpp.

Grim::Mesh::~Mesh (  ) 

Definition at line 403 of file grim/model.cpp.


Member Function Documentation

void Grim::Mesh::changeMaterials ( Material materials[]  ) 

Definition at line 552 of file grim/model.cpp.

void Grim::Mesh::draw (  )  const

Definition at line 557 of file grim/model.cpp.

void Grim::Mesh::getBoundingBox ( int *  x1,
int *  y1,
int *  x2,
int *  y2 
) const

Definition at line 567 of file grim/model.cpp.

void Grim::Mesh::loadBinary ( Common::SeekableReadStream data,
Material materials[] 
)

Definition at line 414 of file grim/model.cpp.

void Grim::Mesh::loadText ( TextSplitter ts,
Material materials[] 
)

Definition at line 451 of file grim/model.cpp.

void Grim::Mesh::sortFaces (  )  [private]

Definition at line 518 of file grim/model.cpp.

void Grim::Mesh::update (  ) 

Definition at line 549 of file grim/model.cpp.


Member Data Documentation

Definition at line 149 of file grim/model.h.

Definition at line 137 of file grim/model.h.

Definition at line 137 of file grim/model.h.

Definition at line 140 of file grim/model.h.

Definition at line 150 of file grim/model.h.

Definition at line 135 of file grim/model.h.

Definition at line 148 of file grim/model.h.

Definition at line 145 of file grim/model.h.

Definition at line 139 of file grim/model.h.

Definition at line 136 of file grim/model.h.

Definition at line 137 of file grim/model.h.

Definition at line 137 of file grim/model.h.

Definition at line 146 of file grim/model.h.

Definition at line 152 of file grim/model.h.

Definition at line 141 of file grim/model.h.

Definition at line 142 of file grim/model.h.

Definition at line 143 of file grim/model.h.


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


Generated on Sat Mar 23 2019 05:07:53 for ResidualVM by doxygen 1.7.1
curved edge   curved edge