mirror of
https://github.com/recp/cglm.git
synced 2026-11-18 18:17:13 -06:00
add tests for vec2 and its call version
This commit is contained in:
1 parent
8a068c3291
commit
43ae3b332a
10 files changed
+771
-81
No files matched your search
@@ -35,7 +35,6 @@
|
||||
#include "../common.h"
|
||||
#include "../types-struct.h"
|
||||
#include "../mat2.h"
|
||||
#include "vec2.h"
|
||||
|
||||
#define GLMS_MAT2_IDENTITY_INIT {1.0f, 0.0f, 0.0f, 1.0f}
|
||||
#define GLMS_MAT2_ZERO_INIT {0.0f, 0.0f, 0.0f, 0.0f}
|
||||
|
||||
@@ -113,7 +113,7 @@ typedef union mat2s {
|
||||
} mat2s;
|
||||
|
||||
typedef union mat3s {
|
||||
mat3 raw;
|
||||
mat3 raw;
|
||||
vec3s col[3];
|
||||
#if CGLM_USE_ANONYMOUS_STRUCT
|
||||
struct {
|
||||
@@ -125,7 +125,7 @@ typedef union mat3s {
|
||||
} mat3s;
|
||||
|
||||
typedef union CGLM_ALIGN_MAT mat4s {
|
||||
mat4 raw;
|
||||
mat4 raw;
|
||||
vec4s col[4];
|
||||
#if CGLM_USE_ANONYMOUS_STRUCT
|
||||
struct {
|
||||
|
||||
Reference in new issue
Block a user