Home
last modified time | relevance | path

Searched refs:frustum_h (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/ppapi/examples/compositor/
Dspinning_cube.cc217 GLfloat frustum_h = tanf(fov_y / 360.0f * kPi) * near_z; in Perspective() local
218 GLfloat frustum_w = frustum_h * aspect; in Perspective()
219 Frustum(-frustum_w, frustum_w, -frustum_h, frustum_h, near_z, far_z); in Perspective()
/external/chromium_org/ppapi/examples/gles2_spinning_cube/
Dspinning_cube.cc233 GLfloat frustum_h = tanf(fov_y / 360.0f * kPi) * near_z; in Perspective() local
234 GLfloat frustum_w = frustum_h * aspect; in Perspective()
235 Frustum(-frustum_w, frustum_w, -frustum_h, frustum_h, near_z, far_z); in Perspective()
/external/chromium_org/mojo/examples/sample_app/
Dspinning_cube.cc233 GLfloat frustum_h = tanf(fov_y / 360.0f * kPi) * near_z; in Perspective() local
234 GLfloat frustum_w = frustum_h * aspect; in Perspective()
235 Frustum(-frustum_w, frustum_w, -frustum_h, frustum_h, near_z, far_z); in Perspective()