Commit Graph

7 Commits (390ee21b66f8f4fab03365e369e26f4d7ad98490)

Author SHA1 Message Date
hybrid 5ba7ae5afd Fix rotationFromTo as suggested by AgentD, using the from vector instead of the current values from the quaternion. After all, this quaternion has nothing to do with from or to so far, so the values contained there are rather arbitrary. Moreover, I'm normalizing the quaternion before returning it, as it is a rotation quaternion, which should be a unit quat. Test cases are also extended. For now only in trunk, may be backported after further testing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3905 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-30 14:13:45 +00:00
hybrid 606168737c Debugged the quat test. Was just a float inaccuracy. Fixed now by using a less picky test.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3821 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 22:11:08 +00:00
hybrid 2f8b537d25 Remove redundant code from quaternion class
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3699 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-04 15:09:43 +00:00
hybrid 138dd5020d Remove WIP disabling of test cases.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3697 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-03 07:12:45 +00:00
hybrid 81e59495bf Fix some problems with gimbal lock in quaternion to Euler method. Not yet completely going through the test, I guess it's a euler order problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3694 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-02 16:24:44 +00:00
hybrid 5e4d495dcc Bump copyright dates to 2011.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3556 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:24:40 +00:00
hybrid 96310b964d Merged revisions 3172:3197 from 1.7 branch. Some more bug fixes and doc updates from the 1.7 beta phase.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3198 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-02 20:53:57 +00:00