Fixed warning.

This commit is contained in:
Branimir Karadžić 2016-09-12 19:37:28 -07:00
parent a99c23f649
commit a61010a9ff
1 changed files with 1 additions and 1 deletions

View File

@ -1330,7 +1330,7 @@ namespace ImGuizmo
float validScale[3]; float validScale[3];
for (int i = 0; i < 3; i++) for (int i = 0; i < 3; i++)
{ {
if (fabsf(scale[i] < FLT_EPSILON)) if (fabsf(scale[i]) < FLT_EPSILON)
validScale[i] = 0.001f; validScale[i] = 0.001f;
else else
validScale[i] = scale[i]; validScale[i] = scale[i];