Translate the quad to the origin, rotate, translate back.

Leigh

On 6/18/2010 11:12 AM, Paolo wrote:
Hi guys!
I'm a newbie in OpenGL. :D
I'm trying to rotate a quad around its center.

This is my scenario: I've a quad, drawn with TRIANGLE_STRIP, at
specified coordinates. Now I want to rotate of 45 degrees around its
center, without move it from its position, not around the origin of
the aces.
I hope you are able to understand my english... :)

How can I do that?

Thanks

Paolo


--
Leigh McRae
www.lonedwarfgames.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to