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:
parent
fc5ef809cb
commit
5ee1a74fbe
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user