Home
last modified time | relevance | path

Searched refs:nearZ (Results 1 – 4 of 4) sorted by relevance

/external/libkmsxx/kmscube/
DesTransform.c131 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()
[all …]
DesTransform.h87 void esFrustum(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, flo…
97 void esPerspective(ESMatrix *result, float fovy, float aspect, float nearZ, float farZ);
106 void esOrtho(ESMatrix *result, float left, float right, float bottom, float top, float nearZ, float…
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dmatrixop.c168 float nearZ, float farZ) in Matrix4x4_Perspective() argument
171 frustumH = tanf(fovy / 360.f * PI) * nearZ; in Matrix4x4_Perspective()
175 -frustumH, frustumH, nearZ, farZ); in Matrix4x4_Perspective()
Dmatrixop.h42 float nearZ, float farZ);