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

Method SetPosition

ZEngine/src/GraphicVertex.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void GraphicVertex::SetPosition(const glm::vec3& value) {
30 m_position = value;
31 m_buffer[0] = m_position.x;
32 m_buffer[1] = m_position.y;
33 m_buffer[2] = m_position.z;
34 }
35
36 void GraphicVertex::SetNormal(const glm::vec3& value) {
37 m_normal = value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected