Searched defs:near_z (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/mojo/examples/sample_app/
H A Dspinning_cube.cc201 float near_z,
205 float delta_z = far_z - near_z;
207 if ((near_z <= 0.0f) ||
215 frust.m[0][0] = 2.0f * near_z / delta_x;
218 frust.m[1][1] = 2.0f * near_z / delta_y;
223 frust.m[2][2] = -(near_z + far_z) / delta_z;
226 frust.m[3][2] = -2.0f * near_z * far_z / delta_z;
232 void Perspective(float fov_y, float aspect, float near_z, float far_z) { argument
233 GLfloat frustum_h = tanf(fov_y / 360.0f * kPi) * near_z;
235 Frustum(-frustum_w, frustum_w, -frustum_h, frustum_h, near_z, far_
197 Frustum(float left, float right, float bottom, float top, float near_z, float far_z) argument
[all...]
/external/chromium_org/ppapi/examples/compositor/
H A Dspinning_cube.cc185 float near_z,
189 float delta_z = far_z - near_z;
191 if ((near_z <= 0.0f) ||
199 frust.m[0][0] = 2.0f * near_z / delta_x;
202 frust.m[1][1] = 2.0f * near_z / delta_y;
207 frust.m[2][2] = -(near_z + far_z) / delta_z;
210 frust.m[3][2] = -2.0f * near_z * far_z / delta_z;
216 void Perspective(float fov_y, float aspect, float near_z, float far_z) { argument
217 GLfloat frustum_h = tanf(fov_y / 360.0f * kPi) * near_z;
219 Frustum(-frustum_w, frustum_w, -frustum_h, frustum_h, near_z, far_
181 Frustum(float left, float right, float bottom, float top, float near_z, float far_z) argument
[all...]
/external/chromium_org/ppapi/examples/gles2_spinning_cube/
H A Dspinning_cube.cc201 float near_z,
205 float delta_z = far_z - near_z;
207 if ((near_z <= 0.0f) ||
215 frust.m[0][0] = 2.0f * near_z / delta_x;
218 frust.m[1][1] = 2.0f * near_z / delta_y;
223 frust.m[2][2] = -(near_z + far_z) / delta_z;
226 frust.m[3][2] = -2.0f * near_z * far_z / delta_z;
232 void Perspective(float fov_y, float aspect, float near_z, float far_z) { argument
233 GLfloat frustum_h = tanf(fov_y / 360.0f * kPi) * near_z;
235 Frustum(-frustum_w, frustum_w, -frustum_h, frustum_h, near_z, far_
197 Frustum(float left, float right, float bottom, float top, float near_z, float far_z) argument
[all...]

Completed in 2916 milliseconds