Hi,

I'm usually doing the following (or the inverse);

float ratio = (float) width / height;
Matrix.orthoM(projection, -ratio, ratio, 1, -1, .1f, 100f);

Especially using "proper" z -projection.

--
H

On Sep 14, 2012, at 11:25 AM, Steven Bruce <[email protected]> wrote:
> 
> Matrix.orthoM(projection,0,0,width,0,height,-1,1);
> 
> So how exactly are you supposed to use this function?


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