mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +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:
@@ -7,6 +7,14 @@
|
||||
|
||||
#include "test_common.h"
|
||||
|
||||
TEST_IMPL(mat2x3s_zero_init) {
|
||||
mat2x3s mat2x3_zero = GLMS_MAT2X3_ZERO_INIT;
|
||||
mat2x3 mat2x3_zero_a = GLM_MAT2X3_ZERO_INIT;
|
||||
test_assert_mat2x3_eq_zero(mat2x3_zero_a);
|
||||
test_assert_mat2x3_eq_zero(mat2x3_zero.raw);
|
||||
TEST_SUCCESS
|
||||
}
|
||||
|
||||
TEST_IMPL(mat3s_identity_init) {
|
||||
mat3s mat3_identity = GLMS_MAT3_IDENTITY_INIT;
|
||||
mat3 mat3_identity_a = GLM_MAT3_IDENTITY_INIT;
|
||||
|
||||
Reference in New Issue
Block a user