#include <lescegra/sg/node.h>
#include <lescegra/util/vertex.h>
Include dependency graph for md2model.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | LsgMD2Triangle |
| struct | LsgMD2Model |
| Quake II model container. More... | |
Defines | |
| #define | LSG_MD2MODEL_H 1 |
| #define | LsgMD2Model_clean(self) LsgNode_clean(&(self)->super) |
| #define | LsgMD2Model_update(self, now) LsgNode_update(&(self)->super, now) |
Typedefs | |
| typedef float | LsgTexCoord [2] |
Functions | |
| LsgMD2Model * | LsgMD2Model_create (const char *filename) |
| void | LsgMD2Model_init (LsgMD2Model *self, const char *filename) |
| void | LsgMD2Model_display (LsgMD2Model *self, LsgFrustum *frust) |
| void | LsgMD2Model_displayWireframe (LsgMD2Model *self, LsgFrustum *frust) |
| void | LsgMD2Model_destroy (LsgMD2Model *self) |
| void | LsgMD2Model_optimizeBBox (LsgMD2Model *self) |
|
|
Allocate and initialize a LsgMD2Model instance.
|
|
||||||||||||
|
Constructor method for LsgMD2Model. Load a Quake II model from the given file.
|
|
|
Optimize the nodes bounding box to exactly fit the current frame.
|