Well thats makes sense. But what is sinf? Is that the inverse of sin? Also, is the above method just for the y direction?
Type: Posts; User: opiop65
Well thats makes sense. But what is sinf? Is that the inverse of sin? Also, is the above method just for the y direction?
I have a "camera" in my opengl program that I recently finished. However, I've noticed that whenever I rotate and then move again, the x, y, and z angles change. For example, when I press the "w"...
So I have a simple square rendered in the immediate mode. For some reason, I cannot figure out how to actually use the translate function to make the square move. Here's my player class:
...