From c3fdab8ff25e0b239333351a692732064859a493 Mon Sep 17 00:00:00 2001 From: Kyle De'Vir Date: Sat, 4 Jun 2016 20:28:12 +1000 Subject: [PATCH] Translate function - removed redundant 1.0f --- HandmadeMath.h | 1 - 1 file changed, 1 deletion(-) diff --git a/HandmadeMath.h b/HandmadeMath.h index ef327b3..ed40c14 100644 --- a/HandmadeMath.h +++ b/HandmadeMath.h @@ -792,7 +792,6 @@ HMM_Translate(hmm_vec3 Translation) Result.Elements[0][3] = Translation.X; Result.Elements[1][3] = Translation.Y; Result.Elements[2][3] = Translation.Z; - Result.Elements[3][3] = 1.0f; return (Result); }