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

Method TransformPosition

ZEngine/src/GraphicVertex.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void GraphicVertex::TransformPosition(const glm::mat4& matrix) {
51 glm::vec4 position = glm::vec4(m_position, 1.0f);
52 position = matrix * position;
53 SetPosition({position.x, position.y, position.z});
54 }
55
56 void GraphicVertex::_UpdateBuffer() {
57 m_buffer[0] = m_position.x;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected