mirror of https://github.com/bkaradzic/bgfx
Fixed warning.
This commit is contained in:
parent
a99c23f649
commit
a61010a9ff
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue