mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2026-04-23 00:15:18 +00:00
@@ -789,9 +789,9 @@ HMM_Translate(hmm_vec3 Translation)
|
|||||||
{
|
{
|
||||||
hmm_mat4 Result = HMM_Mat4d(1.0f);
|
hmm_mat4 Result = HMM_Mat4d(1.0f);
|
||||||
|
|
||||||
Result.Elements[3][0] = Translation.X;
|
Result.Elements[0][3] = Translation.X;
|
||||||
Result.Elements[3][1] = Translation.Y;
|
Result.Elements[1][3] = Translation.Y;
|
||||||
Result.Elements[3][2] = Translation.Z;
|
Result.Elements[2][3] = Translation.Z;
|
||||||
|
|
||||||
return (Result);
|
return (Result);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user