mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-09-05 17:58:14 +00:00
Update version and changelog
This commit is contained in:
@@ -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));
|
||||
|
@@ -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)`. |
|
||||
|
Reference in New Issue
Block a user