Home | History | Annotate | Download | only in renderscript

Lines Matching refs:aspect

306     * @param aspect aspect ratio of the screen
310 public void loadPerspective(float fovy, float aspect, float near, float far) {
313 float left = bottom * aspect;
314 float right = top * aspect;
320 * projection matrix with aspect ratio defined by the parameters
332 float aspect = ((float)w) / h;
333 m1.loadFrustum(-aspect,aspect, -1,1, 1,100);
335 float aspect = ((float)h) / w;
336 m1.loadFrustum(-1,1, -aspect,aspect, 1,100);