mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-09-08 19:28:17 +00:00
Translate function - removed redundant 1.0f
This commit is contained in:
@@ -792,7 +792,6 @@ HMM_Translate(hmm_vec3 Translation)
|
|||||||
Result.Elements[0][3] = Translation.X;
|
Result.Elements[0][3] = Translation.X;
|
||||||
Result.Elements[1][3] = Translation.Y;
|
Result.Elements[1][3] = Translation.Y;
|
||||||
Result.Elements[2][3] = Translation.Z;
|
Result.Elements[2][3] = Translation.Z;
|
||||||
Result.Elements[3][3] = 1.0f;
|
|
||||||
|
|
||||||
return (Result);
|
return (Result);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user