Thompson Lee
c2e1416a2a
Optimizing code, because Quat_FromAxisAngle() will normalize the axis vector. No need to normalize again.
2016-08-11 12:19:32 -04:00
Thompson Lee
0ce2c1398c
Adding Quat_LookAt() and Quat_FromAxisAngle().
...
Removing excess copy/paste code.
Please check my TAU... Fixed K&R. One-liner IFs.
Changed bogus code to accept Quat_FromAxisAngle(vector, angle).
Normalized axis vector in Quat_FromAxisAngle().
Missed that little cross.
Replaced FVec4_New() with Quat_New().
* Changed bogus code to accept Quat_FromAxisAngle(vector, angle).
Normalized axis vector in Quat_FromAxisAngle().
Missed that little cross.
Replaced FVec4_New() with Quat_New().
2016-08-11 12:15:26 -04:00
Thompson Lee
ae0ce14c9d
Enhancement: Mtx_Inverse() returns a non-zero determinant if the matrix passed in can be inverted, otherwise returns zero if the matrix is singular/degenerative.
2016-08-05 01:02:59 -05:00
Michael Theall
24548b03d1
Fix Mtx_LookAt
2016-08-05 00:33:59 -05:00
Thompson Lee
59b0311f48
Minor Fixes series
...
- Added a missing @param[in].
- Added @mtheall 's Mtx_Multiply() enhancement.
2016-08-05 00:19:55 -05:00
mtheall
dc4d81eea9
More additions and enhancements to math code, see details ( #19 )
...
Added C3D_AngleFromDegrees
Added FVec4_PerspDivide
Added LH option for projections
2016-08-04 21:23:28 +02:00
Thompson Lee
dde8877f38
Left-handed and Right-handed Look-At Matrix functions ( #17 )
2016-08-04 12:43:33 +02:00
fincs
8481109e15
Fix swapped near/far in Mtx_Ortho(Tilt)
2016-08-04 12:22:04 +02:00
mtheall
766def30a3
Optimized matrix math ( #15 )
...
Added non-tilt projections
Added quaternions
Added test framework
Created logo
2016-08-04 11:33:18 +02:00
Michael Theall
7b511a809d
fix Mtx_Inverse
2016-08-03 00:52:42 -05:00
Thompson Lee
d7d5ba28a1
Added a Matrix Inverse Function ( #14 )
2016-07-31 13:20:36 +02:00
fincs
7d42b57289
Fix Mtx_RotateX/Z to use standard mathematical convention (positive=CCW)
2016-01-27 21:25:21 +01:00
fincs
ba8656044f
Fix Mtx_OrthoTilt: near/far were swapped
2016-01-20 16:06:46 +01:00
fincs
447c5b05bb
Add Mtx_PerspStereoTilt() for stereo 3D rendering
2015-09-16 13:29:48 +02:00
fincs
21452fe6ee
Fix some broken 3D math
2015-07-23 22:21:49 +02:00
fincs
e7d0632224
Initial commit
2014-12-20 21:34:19 +01:00