History

Eliminate wacky scales in favor of newfangled "meters."

Andrzej Kapolka committed 12 years ago

Commit 14eb87a1 parent 1d14f945 files · +6 −10Browse files

Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 5 files). Show all

Unified · Split

interface/src/MetavoxelSystem.cpp+1−2
@@ -3164,8 +3164,7 @@ void StaticModelRenderer::applyRotation(const glm::quat& rotation) { · 3163 unmodified lines
3164}3164}
3165 3165
3166void StaticModelRenderer::applyScale(float scale) {3166void 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
3171void StaticModelRenderer::applyURL(const QUrl& url) {3170void StaticModelRenderer::applyURL(const QUrl& url) {