Commit Graph

120 Commits

Author SHA1 Message Date
Trinton Bullard
043decab0d Fixed a warning 2016-12-28 18:01:05 -07:00
Trinton Bullard
0fb1bf6aec Changed instances of HMM_PI to HMM_Pi32 2016-12-28 18:00:01 -07:00
Trinton Bullard
1830c7ae9f Added in most operator overrides 2016-12-28 15:49:55 -07:00
Trinton Bullard
dd59c1eb10 Fixed UTF-8 Error 2016-12-28 15:17:31 -07:00
Trinton Bullard
a997fa18b5 Fixed some compile errors 2016-12-28 15:15:26 -07:00
Trinton Bullard
f172979ed4 Finished function implements 2016-12-28 15:12:07 -07:00
Trinton Bullard
b40a74cb3e Added new functions 2016-12-28 15:01:39 -07:00
Trinton Bullard
cf26235cdc Fixed more bs 2016-12-19 22:50:26 -07:00
Trinton Bullard
08451ebfa5 Fixed all the bullshit I did wrong 2016-12-19 22:47:50 -07:00
Trinton Bullard
7fb6b2f022 Triple Style Check 2016-12-19 17:26:59 -07:00
Trinton Bullard
a78ea2e3dc Double Style Check 2016-12-19 17:22:33 -07:00
Trinton Bullard
3e5c8c4764 Did a style check 2016-12-19 17:19:49 -07:00
Trinton Bullard
527bc36a1f Fixed DotQuat call 2016-12-19 15:42:27 -07:00
Trinton Bullard
4e4e084988 Fixed function names 2016-12-19 15:41:07 -07:00
Trinton Bullard
0f6f6c9ab4 fixed minor issue. 2016-12-19 15:34:52 -07:00
Trinton Bullard
df7bc64aec Removed gbmath includes 2016-12-19 15:32:27 -07:00
Trinton Bullard
98d7b60d7b Finished slerp implementation, next is NLerp 2016-12-08 22:39:27 -07:00
Trinton Bullard
83f995ed22 Working on slerp 2016-12-08 20:35:03 -07:00
Trinton Bullard
da5147b270 Finished operations, onto slerp 2016-12-07 18:35:28 -07:00
Trinton Bullard
675327fd83 Working on quaternions 2016-12-07 18:19:12 -07:00
Zak Strange
154eecb749 Various changes, and started work on Quaternions 2016-12-05 00:25:22 -07:00
Zak Strange
c89c435e3a Fixed HMM_PowerF 2016-11-14 20:05:07 -07:00
Zak Strange
aed68cc894 Version 1.0 2016-11-02 14:27:13 -07:00
Kevin Moran
bebbe211bc Suppress GCC anonymous struct warning 2016-09-21 09:23:07 +10:00
Zak Strange
64830b6bbd 0.7 initial commit 2016-09-05 21:04:30 -07:00
Matt Mascarenhas
7e42f3d7c8 Allow HMM_PowerF to try and compute negative bases 2016-08-31 03:16:13 +01:00
Matt Mascarenhas
bb03df3fc6 Merge remote-tracking branch 'upstream/master' 2016-08-31 02:16:51 +01:00
Matt Mascarenhas
774630b7cf Add wrappers for expf and logf 2016-08-31 02:10:39 +01:00
Matt Mascarenhas
24caf7e8dd Add header for HMM_PowerF() 2016-08-31 01:35:24 +01:00
Zak Strange
59db096948 Merge pull request #42 from StrangeZak/lerp
Add header and test for HMM_Lerp
2016-08-30 20:32:07 -04:00
Ben Visness
2d729a3b34 Add header and test for HMM_Lerp 2016-08-30 19:19:04 -05:00
Ben Visness
5ddb0ed10d Tweak whitespace 2016-08-30 19:14:31 -05:00
Ben Visness
2ea471b3ce Add HMM_Transpose 2016-08-30 18:53:53 -05:00
Matt Mascarenhas
224d543d79 Introduce HMM_PowerF() 2016-08-31 00:44:14 +01:00
Zak Strange
de08310dbd Fixed HMM_Vec4 2016-08-30 13:46:50 -07:00
Zak Strange
8578602799 Fixed issues in last commit and added a function overloaded HMM_Dot 2016-08-30 13:24:55 -07:00
Zak Strange
b087efc561 Added HMM_DotVec2, HMM_DotVec3, and HMM_DotVec4 2016-08-30 12:05:33 -07:00
Zak Strange
712e5aa6db Fixed issue #33, #32, #27, #30 2016-08-30 11:58:26 -07:00
Matt Mascarenhas
cad7efa639 Accelerate HMM_Power() with the squaring technique
Thanks to @mmozeiko for the algorithm
2016-08-30 01:19:47 +01:00
Zak Strange
c58043db84 Merge pull request #26 from bvisness/bug-fixes
Fix issues that came up in testing
2016-08-29 11:27:22 -04:00
Ben Visness
44be431b65 Fix issues that came up in testing
Refs #25
2016-08-28 23:27:24 -05:00
Zak Strange
b638056bcd Updated README.md and Fixed SSE code 2016-08-25 16:11:03 -07:00
Ben Visness
bcf7937eec Ensure column-major order for matrices and fix HMM_Translate
Most of the changes in this patch are cosmetic (such as looping by
columns first.) HMM_Translate was incorrectly producing row-major
matrices, which should now be fixed.

Fixes #22
2016-08-25 14:14:22 -05:00
Ben Visness
c9ec065fd5 Add documentation for v0.5 2016-08-23 18:20:59 -05:00
Ben Visness
077bdcd346 Initialize structs the Zak way
And generally make formatting consistent throughout.

Refs #20
2016-08-23 17:57:07 -05:00
Ben Visness
99bad6fd6e Clean up C++ versions of functions
Prefixed functions that needed it, added functions to match all new
operators, and ensured that headers were accurate.

Fixes #20
2016-08-23 15:39:35 -05:00
Ben Visness
c55baa9086 Ensure that all Result variables are initialized 2016-08-23 15:11:03 -05:00
Ben Visness
fb652d1467 Add lots and lots of missing operations
- Scalar multiplication of vectors and matrices
  - This was present for only vec2's and vec3's using operator
    overloading. In addition, there was only operator overloading for
    [structure] * float, not float * [structure].
  - Additionally, the two operators that were already defined were
    updated to use the new C-style functions that were defined.
- Scalar division of vectors and matrices
- Matrix subtraction
- += operator for matrices
2016-08-23 09:43:27 -05:00
Ben Visness
2c265f0e1d Add missing headers for operators
And flip the order of those two other operators, because having vec2
after vec3 was bugging me.
2016-08-22 19:00:04 -05:00
Ben Visness
a85eb07b3d Merge branch 'vec4v' 2016-08-20 19:50:08 -05:00