Searched refs:nearZ (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/angle/samples/gles2_book/Common/ |
D | esTransform.c | 108 esFrustum(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, float fa… in esFrustum() argument 112 float deltaZ = farZ - nearZ; in esFrustum() 115 if ( (nearZ <= 0.0f) || (farZ <= 0.0f) || in esFrustum() 119 frust.m[0][0] = 2.0f * nearZ / deltaX; in esFrustum() 122 frust.m[1][1] = 2.0f * nearZ / deltaY; 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 142 frustumH = tanf( fovy / 360.0f * PI ) * nearZ; in esPerspective() 145 esFrustum( result, -frustumW, frustumW, -frustumH, frustumH, nearZ, farZ ); in esPerspective() [all …]
|
D | esUtil.h | 259 …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);
|