diff options
Diffstat (limited to 'libs/rs/scriptc')
| -rw-r--r-- | libs/rs/scriptc/rs_types.rsh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/rs/scriptc/rs_types.rsh b/libs/rs/scriptc/rs_types.rsh index 489b034..ddae7eb 100644 --- a/libs/rs/scriptc/rs_types.rsh +++ b/libs/rs/scriptc/rs_types.rsh @@ -55,19 +55,19 @@ typedef int int3 __attribute__((ext_vector_type(3))); typedef int int4 __attribute__((ext_vector_type(4))); -typedef struct rs_matrix4x4_s { +typedef struct { float m[16]; } rs_matrix4x4; -typedef struct rs_matrix3x3_s { +typedef struct { float m[9]; } rs_matrix3x3; -typedef struct rs_matrix2x2_s { +typedef struct { float m[4]; } rs_matrix2x2; -typedef struct rs_quaternion_s { +typedef struct { float w, x, y, z; } rs_quaternion; |
