Fixed warning.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1342 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
hybrid 2008-04-29 22:07:21 +00:00
parent fc5ef809cb
commit 5ee1a74fbe

View File

@ -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;