mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-09-10 12:18:16 +00:00
Added Mat4, Perpective, Rotate, Scale, and Traslate
This commit is contained in:
12
main.cpp
12
main.cpp
@@ -11,7 +11,17 @@ main(int ArgC, char **ArgV)
|
||||
vec2 TestVector1 = V2(50.0f, 36.0f);
|
||||
vec2 TestVector2 = V2(5.0f, 6.0f);
|
||||
|
||||
vec2 Result = TestVector1 - TestVector2;
|
||||
vec2 ResultVector = TestVector1 - TestVector2;
|
||||
|
||||
|
||||
mat4 MatrixZero = Mat4();
|
||||
mat4 Matrix1 = Mat4d(5.0f);
|
||||
|
||||
mat4 Matrix2 = Mat4d(2.0f);
|
||||
|
||||
mat4 ResultMatrix = MultiplyMat4(Matrix1, Matrix2);
|
||||
|
||||
|
||||
|
||||
_getch();
|
||||
return(0);
|
||||
|
Reference in New Issue
Block a user