make vec4 and matrix types internal
This commit is contained in:
19
src/twn_types_c.h
Normal file
19
src/twn_types_c.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef TWN_TYPES_C_H
|
||||
#define TWN_TYPES_C_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct Vec4 {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float w;
|
||||
} Vec4;
|
||||
|
||||
|
||||
typedef struct Matrix4 {
|
||||
Vec4 row[4];
|
||||
} Matrix4;
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user