dlsl.projection

dlsl.projection

Members

Functions

glInverseOrthographic
mat4 glInverseOrthographic(float left, float right, float bottom, float top, float near, float far)

Returns an inverse orographic matrix ( 4x4 and floating - point matrices only ).

glInversePerspective
mat4 glInversePerspective(float fovy, float aspect, float near, float far)

Construct an inverse, symmetric perspective matrix ( 4x4 and floating - point matrices only ).

glInversePerspective
mat4 glInversePerspective(float left, float right, float bottom, float top, float near, float far)

Construct an inverse, optionally non-symmetric perspective matrix

glOrthographic
mat4 glOrthographic(float left, float right, float bottom, float top, float near, float far)

Construct an orthographic matrix ( 4x4 and floating - point matrices only ).

glPerspective
mat4 glPerspective(float fovy, float aspect, float near, float far)

Construct a symmetric perspective matrix ( 4x4 and floating - point matrices only ).

glPerspective
mat4 glPerspective(float left, float right, float bottom, float top, float near, float far)

Construct an optionally non-symmetric perspective matrix

vkOrthographic
mat4 vkOrthographic(float left, float right, float bottom, float top, float near, float far)

Construct an orthographic matrix ( 4x4 and floating - point matrices only ).

vkOrthographic
mat4 vkOrthographic(float scale, float aspect, float near, float far)

Construct an orthographic matrix from scale and aspect ( 4x4 and floating - point matrices only ).

vkPerspective
mat4 vkPerspective(float fovy, float aspect, float near, float far)

///////////////////// /////////////////////

Meta

Authors

Peter Particle ( based on gl3n by David Herberth )

License

MIT

Note: All methods marked with pure are weakly pure since, they all access an instance member. All static methods are strongly pure.