Be sure that the 'gl' you use in your app is actually a MatrixTrackingGL, a wrapper around the GL10 instance returned by the opengl api.
Look at the API Demoes source code that comes with the Android SDK. Look at the 'Kube.java' class. On Sep 21, 7:09 am, androidDeveloper <stepmas...@googlemail.com> wrote: > Have you checked the MatrixGrabber? > > I tried to use the MatrixGrabber, but I got an class Cast Exception in > the MatrixGrabber Row 56: > private void getMatrix(GL10 gl, int mode, float[] mat) { > MatrixTrackingGL gl2 = (MatrixTrackingGL) gl; > ...} > > Does anyone know how to use it? > > On 8 Sep., 15:53, Streets Of Boston <flyingdutc...@gmail.com> wrote: --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---