Skip to main content

Module opengl

Module opengl 

Source
Expand description

OpenGL NDC convention: Z range [-1, 1], Y-up.

Expects a right-handed Y-up view space input.

Functionsยง

frustum
Creates a perspective projection matrix from a frustum for use with OpenGL.
orthographic
Creates an orthographic projection matrix for use with OpenGL.
perspective
Creates a perspective projection matrix for use with OpenGL.