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
31643164 }
31653165
31663166 void StaticModelRenderer::applyScale(float scale) {
3167− const float SCALE_MULTIPLIER = 0.0006f;
3168− _model->setScale(glm::vec3(scale, scale, scale) * SCALE_MULTIPLIER);
3167+ _model->setScale(glm::vec3(scale, scale, scale));
31693168 }
31703169
31713170 void StaticModelRenderer::applyURL(const QUrl& url) {