mirror of
https://github.com/recp/cglm.git
synced 2026-01-03 06:09:59 +00:00
add new matrix mat3x2
Initial function being glm_mat3x2_make Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
@@ -256,6 +256,19 @@ test_assert_mat3_eq_zero(mat3 m3) {
|
||||
TEST_SUCCESS
|
||||
}
|
||||
|
||||
test_status_t
|
||||
test_assert_mat3x2_eq_zero(mat3x2 m3x2) {
|
||||
int i, j;
|
||||
|
||||
for (i = 0; i < 3; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
ASSERT(test_eq(m3x2[i][j], 0.0f))
|
||||
}
|
||||
}
|
||||
|
||||
TEST_SUCCESS
|
||||
}
|
||||
|
||||
test_status_t
|
||||
test_assert_mat4_eq_identity(mat4 m4) {
|
||||
int i, j;
|
||||
|
||||
Reference in New Issue
Block a user