From fea60499d44008df457fb44cf30fcc6787ad7f8b Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Fri, 19 Feb 2016 11:32:59 -0800 Subject: [PATCH] rename poorly named variable --- libraries/render-utils/src/Model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/render-utils/src/Model.cpp b/libraries/render-utils/src/Model.cpp index 1f6e25f386..3b741ac734 100644 --- a/libraries/render-utils/src/Model.cpp +++ b/libraries/render-utils/src/Model.cpp @@ -92,10 +92,10 @@ void Model::setScale(const glm::vec3& scale) { _scaledToFit = false; } -const float METERS_PER_MILLIMETER = 0.01f; +const float SCALE_CHANGE_EPSILON = 0.01f; void Model::setScaleInternal(const glm::vec3& scale) { - if (glm::distance(_scale, scale) > METERS_PER_MILLIMETER) { + if (glm::distance(_scale, scale) > SCALE_CHANGE_EPSILON) { _scale = scale; if (_scale.x == 0.0f || _scale.y == 0.0f || _scale.z == 0.0f) { assert(false);