From 3908aa6a101a764c698c8914296ec177d0b626f3 Mon Sep 17 00:00:00 2001 From: strangezak Date: Sun, 14 Mar 2021 18:29:07 -0700 Subject: [PATCH] Updated Docs --- HandmadeMath.h | 18 +----------------- README.md | 3 ++- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/HandmadeMath.h b/HandmadeMath.h index 0d8c23c..83c6f3b 100644 --- a/HandmadeMath.h +++ b/HandmadeMath.h @@ -1,25 +1,11 @@ /* - HandmadeMath.h v1.11.0 + HandmadeMath.h v1.13.0 This is a single header file with a bunch of useful functions for game and graphics math operations. ============================================================================= - You MUST - - #define HANDMADE_MATH_IMPLEMENTATION - - in EXACTLY one C or C++ file that includes this header, BEFORE the - include, like this: - - #define HANDMADE_MATH_IMPLEMENTATION - #include "HandmadeMath.h" - - All other files should just #include "HandmadeMath.h" without the #define. - - ============================================================================= - To disable SSE intrinsics, you MUST #define HANDMADE_MATH_NO_SSE @@ -27,7 +13,6 @@ in EXACTLY one C or C++ file that includes this header, BEFORE the include, like this: - #define HANDMADE_MATH_IMPLEMENTATION #define HANDMADE_MATH_NO_SSE #include "HandmadeMath.h" @@ -68,7 +53,6 @@ #define HMM_ACOSF MyACosF #define HMM_ATANF MyATanF #define HMM_ATAN2F MyATan2F - #define HANDMADE_MATH_IMPLEMENTATION #include "HandmadeMath.h" If you do not define all of these, HandmadeMath.h will use the diff --git a/README.md b/README.md index b485378..ce0ad97 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ To get started, go download [the latest release](https://github.com/HandmadeMath Version | Changes | ----------------|----------------| -**1.12.0** | Added Unary Minus operator for `HMM_Vec2`, `HMM_Vec3`, and `HMM_Vec4`. | + +**1.13.0** | Inline all Handmade Math functions. Remove need for HANDMADE_MATH_IMPLEMENTATION | **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.10.1** | Removed stdint.h, this doesn't exist on some really old compilers and we didn't really use it anyways. |