mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-30 15:20:25 +02:00
Reduce redundant code in core::quaternion
Instead of using same matrix calculations 3 times, getMatrixCenter and getMatrix now both call getMatrixFast. Additional function call might be slight cost in debug, in release compilers hopefully inline it away. Also getMatrix_transposed now split into getMatrix_transposed and getMatrixFast_transposed to make it similar to getMatrix. This also avoids a bunch of level 4 warnings in VS about function variables hiding class variables, which was why I started on this. Thought I also prefer having less code here. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6587 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
Tests finished. 72 tests of 72 passed.
|
||||
Compiled as DEBUG
|
||||
Test suite pass at GMT Sun Dec 31 17:50:49 2023
|
||||
Test suite pass at GMT Sat Jan 27 14:25:49 2024
|
||||
|
||||
|
Reference in New Issue
Block a user