commit f2586c97bb14c83f4ad927680ff14d9a2be24474 parent 6ff073375b82913ee5717cf15c528a011a5fd83c Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Oct 29 18:33:17 +0300 oops Diffstat:
linear_algebra.h | | | 3 | ++- |
diff --git a/linear_algebra.h b/linear_algebra.h @@ -90,6 +90,8 @@ struct v3 { } }; +#define GLMV3( v ) v3( ( v ).x, ( v ).y, ( v ).z ) + /* * v2 */ @@ -108,7 +110,6 @@ forceinline v2 operator*( v2 v, float scale ) { forceinline v2 operator*( float scale, v2 v ) { return v * scale; - return v2( v.x * scale, v.y * scale ); } forceinline v2 operator/( v2 v, float scale ) {