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