From 386f6371d7c4ec7030f3bcf29d4b26d3be3f8a15 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 8 Apr 2016 22:44:18 +0100 Subject: [PATCH] Update gb_math.h --- gb_math.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gb_math.h b/gb_math.h index debc376..d7d528a 100644 --- a/gb_math.h +++ b/gb_math.h @@ -25,7 +25,7 @@ CONTENTS - gbMat(2,3,4) - gbFloat(2,3,4) - gbQuat - - Rect(2,3) + - gbRect(2,3) - gbAabb(2,3) - gb_half (16-bit floating point) (storage only) - Operations @@ -174,6 +174,7 @@ GB_MATH_DEF float gb_angle_diff(float radians_a, float radians_b); GB_MATH_DEF float gb_sqrt(float a); GB_MATH_DEF float gb_quake_inv_sqrt(float a); // NOTE(bill): It's probably better to use 1.0f/gb_sqrt(a) + // And for simd, there is usually isqrt functions too! GB_MATH_DEF float gb_sin(float radians); GB_MATH_DEF float gb_cos(float radians);