\r
// **NOTE: Currently a work in progress, does not work correctly\r
printf("cam angle: %f\n", rotate*camRotateFactor);\r
\r
// **NOTE: Currently a work in progress, does not work correctly\r
printf("cam angle: %f\n", rotate*camRotateFactor);\r
sceneObjs[curObject].x += diffx * sin(rotate*camRotateFactor);\r
sceneObjs[curObject].z += diffx * cos(rotate*camRotateFactor);\r
\r
sceneObjs[curObject].x += diffx * sin(rotate*camRotateFactor);\r
sceneObjs[curObject].z += diffx * cos(rotate*camRotateFactor);\r
\r
// Apply independant rotation vectors\r
glRotatef(so.rotation.x, 1.0, 0.0, 0.0);\r
glRotatef(so.rotation.y, 0.0, 1.0, 0.0);\r
// Apply independant rotation vectors\r
glRotatef(so.rotation.x, 1.0, 0.0, 0.0);\r
glRotatef(so.rotation.y, 0.0, 1.0, 0.0);\r
// Apply scaling vector\r
glScalef(so.scale[0], so.scale[1], so.scale[2]);\r
\r
// Apply scaling vector\r
glScalef(so.scale[0], so.scale[1], so.scale[2]);\r
\r