Lines Matching refs:nearZ
131 esFrustum(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, float fa… in esFrustum() argument
135 float deltaZ = farZ - nearZ; in esFrustum()
138 if ( (nearZ <= 0.0f) || (farZ <= 0.0f) || in esFrustum()
142 frust.m[0][0] = 2.0f * nearZ / deltaX; in esFrustum()
145 frust.m[1][1] = 2.0f * nearZ / deltaY; in esFrustum()
150 frust.m[2][2] = -(nearZ + farZ) / deltaZ; in esFrustum()
153 frust.m[3][2] = -2.0f * nearZ * farZ / deltaZ; in esFrustum()
161 esPerspective(ESMatrix *result, float fovy, float aspect, float nearZ, float farZ) in esPerspective() argument
165 frustumH = tanf( fovy / 360.0f * PI ) * nearZ; in esPerspective()
168 esFrustum( result, -frustumW, frustumW, -frustumH, frustumH, nearZ, farZ ); in esPerspective()
172 esOrtho(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, float farZ) in esOrtho() argument
176 float deltaZ = farZ - nearZ; in esOrtho()
188 ortho.m[3][2] = -(nearZ + farZ) / deltaZ; in esOrtho()