diff --git a/HandmadeMath.h b/HandmadeMath.h index 9275b8f..795bf58 100644 --- a/HandmadeMath.h +++ b/HandmadeMath.h @@ -1,5 +1,5 @@ /* - HandmadeMath.h v1.5.1 + HandmadeMath.h v1.6.0 This is a single header file with a bunch of useful functions for game and graphics math operations. @@ -168,8 +168,12 @@ longer has any effect. 1.5.1 (*) Fixed a bug with uninitialized elements in HMM_LookAt. - - + 1.6.0 + (*) Added array subscript operators for vector and matrix types in + C++. This is provided as a convenience, but be aware that it may + incur an extra function call in unoptimized builds. + + LICENSE This software is in the public domain. Where that dedication is not diff --git a/README.md b/README.md index d563db3..7f3a107 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,9 @@ To get started, go download [the latest release](https://github.com/HandmadeMath ----- -Version | Changes | +Version | Changes | ----------------|----------------| +**1.6.0** | Added array subscript operators for vector and matrix types in C++. This is provided as a convenience, but be aware that it may incur an extra function call in unoptimized builds. **1.5.1** | Fixed a bug with uninitialized elements in HMM_LookAt. **1.5.0** | Changed internal structure for better performance and inlining. As a result, `HANDMADE_MATH_NO_INLINE` has been removed and no longer has any effect. **1.4.0** | Fixed bug when using C mode. SSE'd all vec4 operations. Removed zeroing for better performance.