// w: left/right, h: near/far\r
\r
// **NOTE: Currently a work in progress, does not work correctly\r
- float angler = 2*M_PI*((rotate*camRotateFactor)/360);\r
+ float angler = 2 * M_PI * ( (rotate*camRotateFactor)/360.0 );\r
printf("cam angle: %f\n", rotate*camRotateFactor);\r
// float arc = arctan()\r
sceneObjs[curObject].x += diffx * sin(angler) * 0.3;\r