Home
last modified time | relevance | path

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

/frameworks/base/opengl/java/android/opengl/
DMatrix.java284 final float r_depth = 1.0f / (far - near); in orthoM() local
287 final float z = -2.0f * (r_depth); in orthoM()
290 final float tz = -(far + near) * r_depth; in orthoM()
343 final float r_depth = 1.0f / (near - far); in frustumM() local
348 final float C = (far + near) * r_depth; in frustumM()
349 final float D = 2.0f * (far * near * r_depth); in frustumM()
/frameworks/native/opengl/libagl/
Dmatrix.cpp816 const GLfloat r_depth = reciprocalf(zNear - zFar); in frustumf() local
821 const GLfloat C = (zFar + zNear) * r_depth; in frustumf()
822 const GLfloat D = mul2f(zFar * zNear * r_depth); in frustumf()
856 const GLfloat r_depth = reciprocalf(zFar - zNear); in orthof() local
859 const GLfloat z = -mul2f(r_depth); in orthof()
862 const GLfloat tz = -(zFar + zNear) * r_depth; in orthof()