Fix axis angle fabsf usage.

This commit is contained in:
James Goppert 2016-11-28 10:43:29 -05:00
parent bf69be7f17
commit 8a94f0f8ac

View File

@ -78,7 +78,7 @@ public:
AxisAngle &v = *this;
Type ang = (Type)2.0f*acosf(q(0));
Type mag = sinf(ang/2.0f);
if (fabs(ang) < 1e-10f) {
if (fabsf(ang) < 1e-10f) {
v(0) = 0;
v(1) = 0;
v(2) = 0;