add new matrix mat2x3

Initial function being

glm_mat2x3_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
Vincent Davis Jr
2023-07-13 22:39:05 -04:00
parent 3b683cf28c
commit 6317ed90e7
24 changed files with 284 additions and 4 deletions

View File

@@ -174,6 +174,19 @@ test_assert_mat2_eq_zero(mat2 m2) {
TEST_SUCCESS
}
test_status_t
test_assert_mat2x3_eq_zero(mat2x3 m2x3) {
int i, j;
for (i = 0; i < 2; i++) {
for (j = 0; j < 3; j++) {
ASSERT(test_eq(m2x3[i][j], 0.0f))
}
}
TEST_SUCCESS
}
test_status_t
test_assert_mat3_eq(mat3 m1, mat3 m2) {
int i, j;