Damn it. I only used DegreesToRadians in std::cout, not in actual
makeRotate call! Thanks! :)
2012/12/5 michael kapelko
> I apply it on key presses only.
>
> I have code like that on key press:
>
> static float angle = 0;
> angle += 0.1;
> quat->makeRotate(angle, Vec3(1, 0, 0));
>
> 2012/12/5 Ul
I apply it on key presses only.
I have code like that on key press:
static float angle = 0;
angle += 0.1;
quat->makeRotate(angle, Vec3(1, 0, 0));
2012/12/5 Ulrich Hertlein
> On 5/12/12 15:36, michael kapelko wrote:
> > Hi. I can't understand what units (degrees? radians?) Quat::makeRotate
> ac
On 5/12/12 15:36, michael kapelko wrote:
> Hi. I can't understand what units (degrees? radians?) Quat::makeRotate
> accepts.
> I tried to pass degrees, and it wasn't it (with small angle increase there
> was large
> rotation).
> I tried to pass radians with the help of DegreesToRadians, and then
Hi. I can't understand what units (degrees? radians?) Quat::makeRotate
accepts.
I tried to pass degrees, and it wasn't it (with small angle increase there
was large rotation).
I tried to pass radians with the help of DegreesToRadians, and then it's
not it, too (when angle was going from 1 to 14, th
4 matches
Mail list logo