mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-12-30 08:24:33 +00:00
Compare commits
3 Commits
full_inlin
...
inline
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3908aa6a10 | ||
|
|
d0ae200589 | ||
|
|
30633daa77 |
597
HandmadeMath.h
597
HandmadeMath.h
File diff suppressed because it is too large
Load Diff
@@ -11,9 +11,7 @@ To get started, go download [the latest release](https://github.com/HandmadeMath
|
|||||||
Version | Changes |
|
Version | Changes |
|
||||||
----------------|----------------|
|
----------------|----------------|
|
||||||
|
|
||||||
**1.13.0** | Fully inlined HandmadeMath.h. No need for HANDMADE_MATH_IMPLEMENTATION anymore |
|
**1.13.0** | Inline all Handmade Math functions. Remove need for HANDMADE_MATH_IMPLEMENTATION |
|
||||||
**1.12.1** | Added extra parentheses around some macros |
|
|
||||||
**1.12.0** | Added Unary Minus operator for `HMM_Vec2`, `HMM_Vec3`, and `HMM_Vec4`. |
|
|
||||||
**1.11.1** | Added HMM_PREFIX macro to a few functions that were missing it. |
|
**1.11.1** | Added HMM_PREFIX macro to a few functions that were missing it. |
|
||||||
**1.11.0** | Added ability to customize or remove the default `HMM_` prefix on function names by defining a macro called `HMM_PREFIX(name)`. |
|
**1.11.0** | Added ability to customize or remove the default `HMM_` prefix on function names by defining a macro called `HMM_PREFIX(name)`. |
|
||||||
**1.10.1** | Removed stdint.h, this doesn't exist on some really old compilers and we didn't really use it anyways. |
|
**1.10.1** | Removed stdint.h, this doesn't exist on some really old compilers and we didn't really use it anyways. |
|
||||||
@@ -42,7 +40,7 @@ Version | Changes |
|
|||||||
**0.5** | Added scalar operations on vectors and matrices, added += and -= for hmm_mat4, reconciled headers and implementations, tidied up in general |
|
**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.4** | Added SSE Optimized HMM_SqrtF, HMM_RSqrtF, Removed use of C Runtime |
|
||||||
**0.3** | Added +=,-=, *=, /= for hmm_vec2, hmm_vec3, hmm_vec4 |
|
**0.3** | Added +=,-=, *=, /= for hmm_vec2, hmm_vec3, hmm_vec4 |
|
||||||
**0.2b** | Disabled warning C4201 on MSVC, Added 64bit precision on HMM_PI |
|
**0.2b** | Disabled warning C4201 on MSVC, Added 64bit percision on HMM_PI |
|
||||||
**0.2a** | Prefixed Macros |
|
**0.2a** | Prefixed Macros |
|
||||||
**0.2** | Updated Documentation, Fixed C Compliance, Prefixed all functions, and added better operator overloading |
|
**0.2** | Updated Documentation, Fixed C Compliance, Prefixed all functions, and added better operator overloading |
|
||||||
**0.1** | Initial Version |
|
**0.1** | Initial Version |
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
@echo off
|
|
||||||
|
|
||||||
if not exist "build" mkdir build
|
|
||||||
pushd build
|
|
||||||
|
|
||||||
clang-cl /Fehmm_test_c.exe ..\HandmadeMath.c ..\hmm_test.c
|
|
||||||
hmm_test_c
|
|
||||||
|
|
||||||
clang-cl /Fehmm_test_c_no_sse.exe /DHANDMADE_MATH_NO_SSE ..\HandmadeMath.c ..\hmm_test.c
|
|
||||||
hmm_test_c_no_sse
|
|
||||||
|
|
||||||
clang-cl /Fehmm_test_cpp.exe ..\HandmadeMath.cpp ..\hmm_test.cpp
|
|
||||||
hmm_test_cpp
|
|
||||||
|
|
||||||
clang-cl /Fehmm_test_cpp_no_sse.exe /DHANDMADE_MATH_NO_SSE ..\HandmadeMath.cpp ..\hmm_test.cpp
|
|
||||||
hmm_test_cpp_no_sse
|
|
||||||
|
|
||||||
popd
|
|
||||||
Reference in New Issue
Block a user