Explicitly cast these to floats

This commit is contained in:
Matt Williams 2014-01-11 20:28:53 +00:00
parent 63f0def22f
commit 2cfaf241c8

View File

@ -35,7 +35,7 @@ Vector3DFloat evaluateQEF(
double x[3];
solveSVD(u, v, d, vec, x, rows);
return {(float)x[0], (float)x[1], (float)x[2]};
return {static_cast<float>(x[0]), static_cast<float>(x[1]), static_cast<float>(x[2])};
}
//----------------------------------------------------------------------------