mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-12-31 00:42:01 +00:00
* Switch to custom unit testing that is compatible with C * Remove Google Test framework * Attempt to fix missing math functions * Link against C math library * Try forcing c99 again * Include -lm at compile time * Move -lm argument to the end * Update README and gitignore
44 lines
2.4 KiB
Markdown
44 lines
2.4 KiB
Markdown
# Handmade-Math
|
|
------
|
|
|
|
[](https://travis-ci.org/StrangeZak/Handmade-Math)
|
|
|
|
Single-file cross-platform public domain game math library for C/C++
|
|
|
|
_This library is free and will stay free, but if you would like to support development, or you are a company using HandmadeMath, please consider financial support._
|
|
|
|
[](http://www.patreon.com/strangezak) [](https://www.paypal.me/zakarystrange)
|
|
|
|
|
|
Version | Changes |
|
|
----------------|----------------|
|
|
**1.1.3** | Fixed compile error in C mode
|
|
**1.1.2** | Fixed invalid HMMDEF's in the function definitions
|
|
**1.1.1** | Resolved compiler warnings on gcc and g++
|
|
**1.1** | Quaternions! |
|
|
**1.0** | Lots of testing |
|
|
**0.7** | Added HMM_Vec2, and HMM_Vec4 versions of HMM_LengthSquared, HMM_Length, and HMM_Normalize. |
|
|
**0.6** | Made HMM_Power faster, Fixed possible efficiency problem with HMM_Normalize, RENAMED HMM_LengthSquareRoot to HMM_LengthSquared, RENAMED HMM_RSqrtF to HMM_RSquareRootF, RENAMED HMM_SqrtF to HMM_SquareRootF, REMOVED Inner function (user should use Dot now), REMOVED HMM_FastInverseSquareRoot function declaration |
|
|
**0.5.2** | Fixed SSE code in HMM_SqrtF and HMM_RSqrtF |
|
|
**0.5.1** | Fixed HMM_Translate producing row-major matrices, ensured column-major order for matrices throughout |
|
|
**0.5** | Added scalar operations on vectors and matrices, added += and -= for hmm_mat4, reconciled headers and implementations, tidied up in general |
|
|
**0.4** | Added SSE Optimized HMM_SqrtF, HMM_RSqrtF, Removed use of C Runtime |
|
|
**0.3** | Added +=,-=, *=, /= for hmm_vec2, hmm_vec3, hmm_vec4 |
|
|
**0.2b** | Disabled warning C4201 on MSVC, Added 64bit percision on HMM_PI |
|
|
**0.2a** | Prefixed Macros |
|
|
**0.2** | Updated Documentation, Fixed C Compliance, Prefixed all functions, and added better operator overloading |
|
|
**0.1** | Initial Version |
|
|
|
|
-----
|
|
_This library is free and will stay free, but if you would like to support development, or you are a company using HandmadeMath, please consider financial support._
|
|
|
|
## FAQ
|
|
|
|
**What's the license?**
|
|
|
|
This library is in the public domain. You can do whatever you want with it.
|
|
|
|
**Where can I contact you to ask questions?**
|
|
|
|
You can email me at: Zak@Handmade.Network
|