Home
last modified time | relevance | path

Searched refs:farZ (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/angle/samples/gles2_book/Common/
DesTransform.c108 …rustum(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, float farZ) in esFrustum() argument
112 float deltaZ = farZ - nearZ; in esFrustum()
115 if ( (nearZ <= 0.0f) || (farZ <= 0.0f) || in esFrustum()
127 frust.m[2][2] = -(nearZ + farZ) / deltaZ; in esFrustum()
130 frust.m[3][2] = -2.0f * nearZ * farZ / deltaZ; in esFrustum()
138 esPerspective(ESMatrix *result, float fovy, float aspect, float nearZ, float farZ) in esPerspective() argument
145 esFrustum( result, -frustumW, frustumW, -frustumH, frustumH, nearZ, farZ ); in esPerspective()
149 esOrtho(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, float farZ) in esOrtho() argument
153 float deltaZ = farZ - nearZ; in esOrtho()
165 ortho.m[3][2] = -(nearZ + farZ) / deltaZ; in esOrtho()
DesUtil.h259 …ustum(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, float farZ);
269 void ESUTIL_API esPerspective(ESMatrix *result, float fovy, float aspect, float nearZ, float farZ);
278 …Ortho(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, float farZ);