Commit graph

10 commits

Author SHA1 Message Date
marauder2k7 888332a85c rest of the implementation
apparently templated classes need all functions to be inline, otherwise unresolved symbols
macro for switching between matrixf and templated
few functions that were missed
2024-07-28 14:35:34 +01:00
AzaezelX ebb7ed1b78 uninitialized variables-math 2020-05-11 16:17:40 -05:00
OTHGMars 2ed30ffeae Adds Clamp to QuatF::dot()
Clamps output of QuatF::dot() to [-1, 1].
2018-09-24 18:56:46 -04:00
irei1as 6891d348af Update mQuat.h 2016-02-15 18:50:18 +01:00
irei1as 39613c0d87 Optimized
You're right. If the normalized quaternions are in a variable or something for normal uses it's just a waste to force the change hidden inside again.
2016-02-15 18:43:56 +01:00
irei1as 1733ecc315 Updated normalize()
It seems normalize() already changes the quaternion so the asignation is not needed.
2015-09-29 16:13:01 +02:00
irei1as 3630f97ab1 mQuat.h change to fix QuatF::angleBetween
The old version doesn't have that 2.0f in the return that seems to be needed.
Also added normalizing inside so it can be used for not-normalized quaternions too.
2015-09-22 19:37:42 +02:00
Nathan Bowhay ad267f0505 Fixed angle conversion issues
Fixed a variable name and method that should be const.
Also fixed several angle conversion functions that didn't convert the
angle correct.
2015-02-03 12:16:06 -08:00
cpusci 4c35fd37af Simple pass over the codebase to standardize the platform types. 2013-08-04 16:26:01 -05:00
DavidWyand-GG 7dbfe6994d Engine directory for ticket #1 2012-09-19 11:15:01 -04:00