} 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;