Searched refs:num_coloured_triangles (Results 1 – 5 of 5) sorted by relevance
501 mesh.num_coloured_triangles = read_bit16(src); in read_tr_mesh()502 … mesh.coloured_triangles = (tr4_face3_t*)malloc(mesh.num_coloured_triangles * sizeof(tr4_face3_t)); in read_tr_mesh()503 for (i = 0; i < mesh.num_coloured_triangles; i++) in read_tr_mesh()563 this->meshes[(this->mesh_indices[moveable.starting_mesh])].num_coloured_triangles = 16; in read_tr_moveable()
365 if(this->meshes[i].num_coloured_triangles) in ~TR_Level()369 this->meshes[i].num_coloured_triangles = 0; in ~TR_Level()
303 int16_t num_coloured_triangles; // number of coloured triangles in this mesh member
317 mesh.num_coloured_triangles = 0; in read_tr4_mesh()
1172 …mesh->polygons_count = tr_mesh->num_textured_triangles + tr_mesh->num_coloured_triangles + tr_mesh… in TR_GenMesh()1205 for(int16_t i = 0; i < tr_mesh->num_coloured_triangles; i++, p++) in TR_GenMesh()1280 for(int16_t i = 0; i < tr_mesh->num_coloured_triangles; i++, p++) in TR_GenMesh()