performance bug/tweak

Covenant
Posts: 4
Joined: Wed Dec 22, 2010 2:31 am

performance bug/tweak

Post by Covenant »

tweak/bug not sure what to call it.

There are 2 places in the library that do this:
R.setRotation (convexFromTrans.getRotation());
This converts from a matrix to a quaternion and then back to a matrix. Pretty expensive operations.

instead of:
R.setBasis(convexFromTrans.getBasis());