diff --git a/libs/rs/scriptc/rs_types.rsh b/libs/rs/scriptc/rs_types.rsh index 489b0344224f9..ddae7eb1b2199 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;