perspective
Description:
Replaces the current projection matrix with a perspective matrix based on the provided values.
Note:
Use cogl_framebuffer_perspective instead
Note:
You should be careful not to have to great a z_far / z_near ratio since that will reduce the effectiveness of
depth testing since there wont be enough precision to identify the depth of objects near to each other.
Parameters:
| fovy |
Vertical field of view angle in degrees. |
| aspect |
The (width over height) aspect ratio for display |
| z_near |
The distance to the near clipping plane (Must be positive) |
| z_far |
The distance to the far clipping plane (Must be positive) |
Namespace: Cogl
Package: cogl-1.0