mirror of
https://github.com/recp/cglm.git
synced 2025-12-26 10:35:10 +00:00
add new matrix mat2x3
Initial function being glm_mat2x3_make Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user