Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube :

Commit 14b3bfb1 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

patch quaternion type problem (as 2.6.2)

parent 66d995c2
......@@ -152,10 +152,10 @@ void Quaternion::setFromRotationMatrix(const float m[3][3])
qWarning("setFromRotationMatrix now expects a double[3][3] parameter");
float mat[3][3];
qreal mat[3][3];
for (int i=0; i<3; ++i)
for (int j=0; j<3; ++j)
mat[i][j] = float(m[i][j]);
mat[i][j] = qreal(m[i][j]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment