diff --git a/neofx/types.h b/neofx/types.h index 8586545..7b46c55 100644 --- a/neofx/types.h +++ b/neofx/types.h @@ -6,9 +6,14 @@ typedef union _MATRIX { float f[16]; } MATRIX; -typedef struct _VECTOR_VERTEX_ROTATION { - float x, y, z; -} VECTOR, VERTEX, ROTATION; +typedef union _VECTOR_VERTEX_ROTATION_COLOR { + struct { + float x, y, z; + }; + struct { + float r, g, b; + }; +} VECTOR, VERTEX, ROTATION, COLOR; typedef struct _TEXCOORDS { float s, t;