Thanks for writing these tutorials! They've been my first ever introduction to Open GL ES.
In the last tutorial, how are these equations used for drawing a circle? I understand that sin = O/A and cos = A/H.
newX = eyeX + radius * cos(TURN_SPEED)*deltaX -
sin(TURN_SPEED)*deltaZ
newZ = eyeZ + radius * sin(TURN_SPEED)* deltaX +
cos(TURN_SPEED)*deltaZ
|