(no commit message)
[atyndall/cits2231.git] / types.h
diff --git a/types.h b/types.h
index 3c0b75b..0d7110e 100644 (file)
--- a/types.h
+++ b/types.h
@@ -38,10 +38,15 @@ typedef struct {
     GLfloat x, y, z;    // Amount of rotation on axis
 } transform;
 
+typedef struct {
+    int id;
+    GLfloat scale;
+} texturedat;
+
 typedef struct {
     int mesh;           // Mesh index number
-    int texture;        // Texture index number
-    GLfloat x,y,z;        // Scene position
+    texturedat texture; // Texture index number
+    GLfloat x,y,z;      // Scene position
     GLfloat scale[3];   // Scale vector
     transform rotation; // Rotation transformation
 } SceneObject;

UCC git Repository :: git.ucc.asn.au