mirror of
https://github.com/recp/cglm.git
synced 2026-01-02 05:28:15 +00:00
add tests for vec2 and its call version
This commit is contained in:
@@ -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