rename src to utils

This commit is contained in:
Greg Wells
2025-06-06 20:14:51 -04:00
parent db55ccc0f0
commit 7e30aaabd7
13 changed files with 0 additions and 0 deletions

17
utils/math/gryphn_mat4.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
typedef struct gnMat4x4 {
float mat[4][4];
} gnMat4x4;
typedef gnMat4x4 gnMat4;
gnMat4x4 gnIdentity() {
return (gnMat4x4){
.mat = {
{ 1.0f, 0.0f, 0.0f, 0.0f },
{ 0.0f, 1.0f, 0.0f, 0.0f },
{ 0.0f, 0.0f, 1.0f, 0.0f },
{ 0.0f, 0.0f, 0.0f, 1.0f }
}
};
}