mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
add new matrix mat3x4
Initial function being glm_mat3x4_make Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
@@ -269,6 +269,19 @@ test_assert_mat3x2_eq_zero(mat3x2 m3x2) {
|
||||
TEST_SUCCESS
|
||||
}
|
||||
|
||||
test_status_t
|
||||
test_assert_mat3x4_eq_zero(mat3x4 m3x4) {
|
||||
int i, j;
|
||||
|
||||
for (i = 0; i < 3; i++) {
|
||||
for (j = 0; j < 4; j++) {
|
||||
ASSERT(test_eq(m3x4[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