Commit f4fbe1b5 authored by cutealien's avatar cutealien

Second try on fixing some rounding problem with vector3d<s32>.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4699 dfc29bdd-3216-0410-991c-e03cc46cb475
parent f0058fbd
......@@ -313,7 +313,7 @@ namespace core
const f64 z1 = core::squareroot(X*X + Z*Z);
tmp = (T)(atan2((f64)z1, (f64)Y) * RADTODEG64 - 90.0);
tmp = (atan2((f64)z1, (f64)Y) * RADTODEG64 - 90.0);
angle.X = (T)tmp;
if (angle.X < 0)
......
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