MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / SetNormal

Method SetNormal

ZEngine/src/GraphicVertex.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 void GraphicVertex::SetNormal(const glm::vec3& value) {
37 m_normal = value;
38 m_buffer[3] = m_normal.x;
39 m_buffer[4] = m_normal.y;
40 m_buffer[5] = m_normal.z;
41 }
42
43
44 void GraphicVertex::SetTextureCoord(const glm::vec2& value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected