MCPcopy Create free account
hub / github.com/city-super/Octree-GS / getNormalsMeshData

Method getNormalsMeshData

SIBR_viewers/src/core/view/MultiMeshManager.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 }
34
35 MeshData MeshData::getNormalsMeshData() const
36 {
37 MeshData data(name + "_normals", meshPtr, normalMode == PER_TRIANGLE ? TRIANGLES : POINTS);
38 data.setColor(normalsColor).setDepthTest(depthTest);
39 data.normalsLength = (normalsInverted ? -normalsLength : normalsLength);
40 return data;
41 }
42
43 MeshData::operator bool() const
44 {

Callers 1

renderMeshesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected