MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / load

Method load

src/engine/WorldMesh.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12void WorldMesh::load(const ZenLoad::PackedMesh& in)
13{
14 m_WorldMeshData = in;
15 m_BBox3d[0] = Math::float3(in.bbox[0].v);
16 m_BBox3d[1] = Math::float3(in.bbox[1].v);
17}
18
19float WorldMesh::interpolateTriangleShadowValue(size_t triangleIdx, const Math::float3& worldPosition)
20{

Callers 2

setVisualMethod · 0.45
initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected