This commit is contained in:
blueloveTH 2024-08-25 17:58:39 +08:00
parent 305743530b
commit 2e4a248e2c
2 changed files with 10 additions and 10 deletions

View File

@ -4,6 +4,8 @@
#include "pocketpy/common/utils.h"
#include "pocketpy/pocketpy.h"
#include <stdarg.h>
/* string */
typedef struct c11_string{
// int size | char[] | '\0'

View File

@ -22,15 +22,13 @@ typedef struct c11_vec3 {
float z;
} c11_vec3;
typedef struct c11_mat3x3 {
union {
struct {
float _11, _12, _13;
float _21, _22, _23;
float _31, _32, _33;
};
float m[3][3];
float data[9];
typedef union c11_mat3x3 {
struct {
float _11, _12, _13;
float _21, _22, _23;
float _31, _32, _33;
};
float m[3][3];
float data[9];
} c11_mat3x3;