95#define TRI_MESH_FLAGS_GZIP 1
96#define TRI_MESH_FLAGS_SAVE_IMAGE 2
97#define TRI_MESH_FLAGS_TRIANGLES 0
98#define TRI_MESH_FLAGS_TRIANGLE_STRIP 4
99#define TRI_MESH_FLAGS_TRIANGLE_FAN 5
121 triChar filename[64];
164 triS32 boundingCheck;
165 triVec3f boundingBox[8];
166 triVec4f boundingSphere;
188 triS32 boundingCheck;
189 triVec3f boundingBox[8];
190 triVec4f boundingSphere;
221void triModelManagerInit();
222void triModelManagerFreeAll();
225triModel* triModelsLoadTrim( triChar* filename, triS32* numModels );
226#ifdef TRI_SUPPORT_SAVE_TRIM
227void triModelsSaveTrim( triChar* filename,
triModel* models, triS32 numModels, triS32 flags );
229void triModelsFree(
triModel* models, triS32 numModels );
231void triModelRender(
triModel* model );
232void triMeshCalcBoundings(
triMesh* mesh );
234void triModelOptimize(
triModel* model, triS32 format );
235void triMeshOptimize(
triMesh* mesh, triS32 format );
238extern triMesh* triMeshLoadTrim ( triChar* fileName, triChar* texName );
239extern void triMeshFree (
triMesh* pMesh );
Image struct.
Definition triImage.h:158
Definition triModel.h:156
Definition triModel.h:205
Definition triModel.h:171
Definition triModel.h:182
Definition triModel.h:196