MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / update

Method update

src/Scene/Track.cpp:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void Track::update() {
62 RotationMatrix = glm::toMat4(orientation);
63 TranslationMatrix = glm::translate(glm::mat4(1.0), position);
64 ModelMatrix = TranslationMatrix * RotationMatrix;
65}
66
67
68void Track::destroy() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected