You can write one yourself using stack based variables. It's not too difficult, you can Google for "inverse of matrix".
The main thing is avoiding "new". This is not going to be as fast as doing it in native code, but moving things into native code at such small granularity is probably not worth it because of Java to native code call overhead (although I haven't done this myself). -- Kostya Vasilyev -- http://kmansoft.wordpress.com 27.09.2010 18:27 пользователь "A Curious Developer" <[email protected]> написал: > You can create your own rotateM() method and use your own float[16] do > not allocate every time. It also seems that android.opengl.Matrix.invertM also does a heap allocation. Is there a different library function that I can use for (general) matrix inversion? I have already created my own version, but if there is a faster built- in method I would prefer to use that. Thanks for any tips. -- 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]<android-developers%[email protected]> 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 [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

