Explicitly cast these to floats
This commit is contained in:
parent
63f0def22f
commit
2cfaf241c8
@ -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])};
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user