Dear Android Team, Please dont send me mail like this.
Regards, Tushar On Tue, Oct 11, 2011 at 4:22 PM, saex <elpablos...@gmail.com> wrote: > I am following the OpenGL es rotation examples from google to rotate a > simple Square (not a cube) on my Android App, for example this code: > > gl.glRotatef(xrot, 1.0f, 0.0f, 0.0f); //X > gl.glRotatef(yrot, 0.0f, 1.0f, 0.0f); //Y > gl.glRotatef(zrot, 0.0f, 0.0f, 1.0f); //Z > > It works fine if you only rotate to one axis. > > But if you rotate to one axis, and after that, you rotate to other > axis, the rotation is not fair. I mean that the rotation is done from > the plane ("real world") coordinates and not from the square own > coordinates. I am not sure if i am explaining me fine. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en