Leigh,

You could just use local variables to hold the temporaries, declared as a primitive type (float).

-- Kostya

25.09.2010 3:22, Romain Guy пишет:
>
>  On 9/24/2010 6:32 PM, Romain Guy wrote:
>>
>>  rotateM() just does the following:
>>
>>           float[] r = new float[16];
>>           setRotateM(r, 0, a, x, y, z);
>>           multiplyMM(rm, rmOffset, m, mOffset, r, 0);
>>
>>  You can create your own rotateM() method and use your own float[16] do
>>  not allocate every time.
>>


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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

Reply via email to