Searched refs:far_z (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/mojo/examples/sample_app/
H A Dspinning_cube.cc202 float far_z) {
205 float delta_z = far_z - near_z;
208 (far_z <= 0.0f) ||
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
235 Frustum(-frustum_w, frustum_w, -frustum_h, frustum_h, near_z, far_z);
197 Frustum(float left, float right, float bottom, float top, float near_z, float far_z) argument
/external/chromium_org/ppapi/examples/compositor/
H A Dspinning_cube.cc186 float far_z) {
189 float delta_z = far_z - near_z;
192 (far_z <= 0.0f) ||
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
219 Frustum(-frustum_w, frustum_w, -frustum_h, frustum_h, near_z, far_z);
181 Frustum(float left, float right, float bottom, float top, float near_z, float far_z) argument
/external/chromium_org/ppapi/examples/gles2_spinning_cube/
H A Dspinning_cube.cc202 float far_z) {
205 float delta_z = far_z - near_z;
208 (far_z <= 0.0f) ||
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
235 Frustum(-frustum_w, frustum_w, -frustum_h, frustum_h, near_z, far_z);
197 Frustum(float left, float right, float bottom, float top, float near_z, float far_z) argument

Completed in 77 milliseconds