Zak Strange
1d82b4f0bc
Unary minus vectors ( #130 )
...
* Unary Minus operator for vec2, vec3, and vec4
* Update README.md
Co-authored-by: zak <zak@DESKTOP-V1AQ0IT>
2021-03-06 18:39:17 -06:00
Ben Visness
fe32f081f2
Suppress float equality warnings ( #113 )
...
* Add a macro to help with deprecations
* Suppress warnings about float equality
2020-04-06 09:55:40 -05:00
Ben Visness
f376f2a2a7
Add test coverage macros ( #104 )
...
* Add coverage features and add it, laboriously, to everything
* Fix easy tests
* Add tests for != operators
* Clean up test framework a little
* Add documentation of coverage macros
* Fix tests for mat4 to quaternion
* Slightly improve formatting of coverage output
* Trailing whitespace must die
2019-07-31 16:43:56 -05:00
Ben Visness
78e6feea82
Add HMM_Mat4ToQuaternion ( #103 )
...
* Add mat4 to quaternion method
* Capitalize variables
2019-07-31 16:38:03 -05:00
Ben Visness
93e56be543
Use vertical instead of horizontal FOV in HMM_Perspective ( #101 )
...
* Use vertical instead of horizontal FOV
* Update readme
* Fix tests
2019-07-10 11:29:51 -05:00
Ben Visness
f7c8e1f7d1
Add fast vector normalization ( #94 )
...
* Add fast normalization routines
* Update readme and remove version history from main file
* Update version at top of file
2018-11-29 22:02:41 -08:00
Ben Visness
295f6c476f
Rename Rows to Columns on hmm_mat4 ( #91 )
2018-08-17 11:02:44 -07:00
Ben Visness
4e2f47db55
Add array subscript operators for all types ( #88 )
...
* Add array subscript operators for all types
* Taking the parameter for the operator[] as a reference. This should allow it to be inlined
* I guess you can't do that.
* Update version and readme
2018-06-10 15:26:48 -04:00
Ben Visness
bee0e0c569
WIP: Properly initialize all elements of LookAt matrix ( #84 )
...
* Properly initialize all elements of LookAt matrix
* Update version and readme
* Add a test for LookAt
good enough
2018-06-03 18:42:09 -05:00
Ben Visness
f8b3a84cec
WIP: Make tests quite a lot nicer ( #81 )
...
Make tests quite a lot nicer
2018-02-18 14:19:31 -06:00