You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please
read the bug posting guidelines first.
jox
Bug Slayer
Posts: 726 Joined: Thu Apr 22, 2004 6:55 pm
Location: Germany
Post
by jox » Fri Apr 23, 2004 7:29 am
irr 0.6 - quaternion.h
There is a little typo in the translation from euler angles to quaternion at line 301:
Original code:
f32 cpcy = cp * cy;
f32 spcy = sp * cy;
f32 cpsy = cp * sy;
f32 spsy = cp * sy;
Fixed code:
f32 cpcy = cp * cy;
f32 spcy = sp * cy;
f32 cpsy = cp * sy;
f32 spsy = sp * sy; // <- cp should be sp
niko
Site Admin
Posts: 1759 Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:
Post
by niko » Sat Apr 24, 2004 12:21 pm
thanks!