Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 5 files). Show all
Unified · Split
| @@ -3164,8 +3164,7 @@ void StaticModelRenderer::applyRotation(const glm::quat& rotation) { · 3163 unmodified lines | |||
| 3164 | } | 3164 | } |
| 3165 | 3165 | ||
| 3166 | void StaticModelRenderer::applyScale(float scale) { | 3166 | void StaticModelRenderer::applyScale(float scale) { |
| 3167 | const float SCALE_MULTIPLIER = 0.0006f; | 3167 | _model->setScale(glm::vec3(scale, scale, scale)); |
| 3168 | _model->setScale(glm::vec3(scale, scale, scale) * SCALE_MULTIPLIER); | ||
| 3169 | } | 3168 | } |
| 3170 | 3169 | ||
| 3171 | void StaticModelRenderer::applyURL(const QUrl& url) { | 3170 | void StaticModelRenderer::applyURL(const QUrl& url) { |