MCPcopy Create free account
hub / github.com/KTStephano/StratusGFX / AddNormal

Method AddNormal

Source/Engine/StratusRenderComponents.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 void Mesh::AddNormal(const glm::vec3& n) {
108 EnsureNotFinalized_();
109 cpuData_->normals.push_back(n);
110 cpuData_->needsRepacking = true;
111 }
112
113 void Mesh::AddTangent(const glm::vec3& t) {
114 EnsureNotFinalized_();

Callers 3

ProcessMeshFunction · 0.80
InitCube_Method · 0.80
InitQuad_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected