| 89 | |
| 90 | |
| 91 | void CarModel::update() { |
| 92 | RotationMatrix = glm::toMat4(orientation); |
| 93 | TranslationMatrix = glm::translate(glm::mat4(1.0), position); |
| 94 | ModelMatrix = TranslationMatrix * RotationMatrix; |
| 95 | } |
| 96 | |
| 97 | void CarModel::destroy() { |
| 98 | if(!Config::get().vulkanRender){ |
nothing calls this directly
no outgoing calls
no test coverage detected