X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=types.h;h=3c0b75bcf3c6e9dc0a2b6a8d8bbe19fe51e45d49;hp=be7c1e43798c9d42c291d5e5c8a323964a042cae;hb=bc7b210b34ea0d6fb40bd163955a50d80db3a11e;hpb=974b0d95620640e8589a286f16f746b3b7887b52 diff --git a/types.h b/types.h index be7c1e4..3c0b75b 100644 --- a/types.h +++ b/types.h @@ -35,14 +35,13 @@ typedef struct { } texture; typedef struct { - GLfloat amount; // Transform amount - GLfloat vector[3]; // Transform vector + GLfloat x, y, z; // Amount of rotation on axis } transform; typedef struct { int mesh; // Mesh index number int texture; // Texture index number - float x,y,z; // Scene position + GLfloat x,y,z; // Scene position GLfloat scale[3]; // Scale vector transform rotation; // Rotation transformation } SceneObject;