I have some objects on the screen and would like to rotate only one of them. I tried using the glRotatef(…) function but turns out glRotatef(…) rotates all my objects (rotates the camera, maybe?).
How can I rotate only one?
I use openGL ES 1.1
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need the rotation to be in effect only when the geometry you’re interested in is being drawn.