MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetModel

Method GetModel

Source/Objects/envobject.cpp:1420–1422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1418}
1419
1420const Model* EnvObject::GetModel() const {
1421 return &Models::Instance()->GetModel(model_id_);
1422}
1423
1424const MaterialDecal& EnvObject::GetMaterialDecal(const std::string& type, const vec3& pos, int* tri) {
1425 MaterialRef material = ofr_material;

Callers 15

PreDrawCameraMethod · 0.45
DrawMethod · 0.45
CalcPatchInstancesMethod · 0.45
DrawMethod · 0.45
ModelFromCSGModelInfoFunction · 0.45
drawLayerMethod · 0.45
lineCheckMethod · 0.45
terrain.cppFile · 0.45
BakeTerrainTextureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected