diff --git a/HandmadeMath.h b/HandmadeMath.h index 5adfb10..5ab78fe 100644 --- a/HandmadeMath.h +++ b/HandmadeMath.h @@ -1,5 +1,5 @@ /* - HandmadeMath.h v1.11.0 + HandmadeMath.h v1.12.1 This is a single header file with a bunch of useful functions for game and graphics math operations. @@ -2799,7 +2799,7 @@ COVERAGE(HMM_UnaryMinusVec2, 1) HMM_INLINE hmm_vec2 operator-(hmm_vec2 In) { ASSERT_COVERED(HMM_UnaryMinusVec2); - + hmm_vec2 Result; Result.X = -In.X; Result.Y = -In.Y; @@ -2822,7 +2822,7 @@ COVERAGE(HMM_UnaryMinusVec4, 1) HMM_INLINE hmm_vec4 operator-(hmm_vec4 In) { ASSERT_COVERED(HMM_UnaryMinusVec4); - + hmm_vec4 Result; #if HANDMADE_MATH__USE_SSE Result.InternalElementsSSE = _mm_xor_ps(In.InternalElementsSSE, _mm_set1_ps(-0.0f)); diff --git a/README.md b/README.md index b485378..3534fdd 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ To get started, go download [the latest release](https://github.com/HandmadeMath Version | Changes | ----------------|----------------| +**1.12.1** | Added extra parentheses around some macros (#133) | **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.0** | Added ability to customize or remove the default `HMM_` prefix on function names by defining a macro called `HMM_PREFIX(name)`. |