From 6ab8772438ecb1c5ee08c740647ce8b339e5cad5 Mon Sep 17 00:00:00 2001 From: Kyle De'Vir Date: Sat, 4 Jun 2016 20:10:00 +1000 Subject: [PATCH] Fixed Translate function again --- HandmadeMath.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/HandmadeMath.h b/HandmadeMath.h index 113df5b..ef327b3 100644 --- a/HandmadeMath.h +++ b/HandmadeMath.h @@ -789,11 +789,8 @@ HMM_Translate(hmm_vec3 Translation) { hmm_mat4 Result = HMM_Mat4d(1.0f); - Result.Elements[0][0] = 1.0f; Result.Elements[0][3] = Translation.X; - Result.Elements[1][1] = 1.0f; Result.Elements[1][3] = Translation.Y; - Result.Elements[2][2] = 1.0f; Result.Elements[2][3] = Translation.Z; Result.Elements[3][3] = 1.0f;