add new matrix mat2x4

Initial function being

glm_mat2x4_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
Vincent Davis Jr
2023-07-15 13:51:19 -04:00
parent 1ca261b118
commit fe7471e8f8
24 changed files with 295 additions and 0 deletions

View File

@@ -187,6 +187,19 @@ test_assert_mat2x3_eq_zero(mat2x3 m2x3) {
TEST_SUCCESS
}
test_status_t
test_assert_mat2x4_eq_zero(mat2x4 m2x4) {
int i, j;
for (i = 0; i < 2; i++) {
for (j = 0; j < 4; j++) {
ASSERT(test_eq(m2x4[i][j], 0.0f))
}
}
TEST_SUCCESS
}
test_status_t
test_assert_mat3_eq(mat3 m1, mat3 m2) {
int i, j;