MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / ClearModel

Function ClearModel

PanzerChasm/model.cpp:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63static const unsigned int g_car_model_texture_width= 64u;
64
65static void ClearModel( Model& model )
66{
67 model.animations.clear();
68 model.vertices.clear();
69 model.animations_vertices.clear();
70 model.regular_triangles_indeces.clear();
71 model.transparent_triangles_indeces.clear();
72 model.texture_data.clear();
73 model.submodels.clear();
74}
75
76static void CalculateModelZ( Model& model, const Vertex_o3* const vertices, const unsigned int vertex_count )
77{

Callers 2

LoadModel_o3Function · 0.85
LoadModel_carFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected