- // You'll need to add scale, rotation, material, mesh number, etc.,
- // to this structure
- float x,y,z;
+ GLfloat amount; // Transform amount
+ GLfloat vector[3]; // Transform vector
+} transform;
+
+typedef struct {
+ int mesh; // Mesh index number
+ int texture; // Texture index number
+ float x,y,z; // Scene position
+ GLfloat scale[3]; // Scale vector
+ transform rotation; // Rotation transformation