Searched refs:nearZ (Results 1 – 6 of 6) sorted by relevance
/external/libkmsxx/kmscube/ |
D | esTransform.c | 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() [all …]
|
D | esTransform.h | 87 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/ |
D | matrixop.c | 168 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()
|
D | matrixop.h | 42 float nearZ, float farZ);
|
/external/angle/util/ |
D | Matrix.cpp | 116 Matrix4 Matrix4::perspective(float fovY, float aspectRatio, float nearZ, float farZ) in perspective() argument 118 const float frustumHeight = tanf(static_cast<float>(fovY / 360.0f * M_PI)) * nearZ; in perspective() 120 return frustum(-frustumWidth, frustumWidth, -frustumHeight, frustumHeight, nearZ, farZ); in perspective()
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | Framebuffer9.cpp | 67 float nearZ = glState.getNearPlane(); in clearImpl() local 69 mRenderer->setViewport(glState.getViewport(), nearZ, farZ, gl::PrimitiveMode::Triangles, in clearImpl()
|