Commit a5286dbb authored by hybrid's avatar hybrid

Fixed warning.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1342 dfc29bdd-3216-0410-991c-e03cc46cb475
parent ad951889
...@@ -716,7 +716,7 @@ namespace core ...@@ -716,7 +716,7 @@ namespace core
if (fabs(C)>ROUNDING_ERROR_64) if (fabs(C)>ROUNDING_ERROR_64)
{ {
const T invC = 1.0/C; const T invC = (T)(1.0/C);
rotx = mat(2,2) * invC; rotx = mat(2,2) * invC;
roty = mat(1,2) * invC; roty = mat(1,2) * invC;
X = atan2( roty, rotx ) * RADTODEG64; X = atan2( roty, rotx ) * RADTODEG64;
......
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