MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ChangeShape

Method ChangeShape

engine/Poseidon/Graphics/Rendering/Shape/ShapeLOD.cpp:2053–2061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2051}
2052
2053void LODShape::ChangeShape(int level, Shape* shape)
2054{
2055 PoseidonAssert(level < _nLods);
2056 _lods[level] = shape;
2057 if (shape)
2058 {
2059 shape->SetLevel(level);
2060 }
2061}
2062
2063} // namespace Poseidon

Callers 2

UpdateMethod · 0.80
test_shape.cppFile · 0.80

Calls 1

SetLevelMethod · 0.80

Tested by

no test coverage detected