| 59 | } |
| 60 | |
| 61 | void Track::update() { |
| 62 | RotationMatrix = glm::toMat4(orientation); |
| 63 | TranslationMatrix = glm::translate(glm::mat4(1.0), position); |
| 64 | ModelMatrix = TranslationMatrix * RotationMatrix; |
| 65 | } |
| 66 | |
| 67 | |
| 68 | void Track::destroy() { |
nothing calls this directly
no outgoing calls
no test coverage detected