`fun perspective(fovY: Double, aspectRatio: Double, zNear: Double, zFar: Double): Matrix44`

(source)
Creates an perspective projection matrix

For more on projection matrices please visit http://learnwebgl.brown37.net/08_projections/projections_perspective.html

fovY Y field of view in degrees aspectRatio lens aspect ratio zNear The distance to the near clipping plane along the -Z axis. zFarThe distance to the far clipping plane along the -Z axis.

`fun perspective(fovY: Double, aspectRatio: Double, zNear: Double): Matrix44`

(source)
Creates an perspective projection matrix with infinite clipping depth

For more on projection matrices please visit http://learnwebgl.brown37.net/08_projections/projections_perspective.html

fovY Y field of view in degrees aspectRatio lens aspect ratio zNear The distance to the near clipping plane along the -Z axis.

`fun perspective(fovY: Double, aspectRatio: Double, zNear: Double, zFar: Double, xOffset: Double, yOffset: Double): Matrix44`

(source)
Creates an perspective projection matrix with a shifted apex

For more on projection matrices please visit http://learnwebgl.brown37.net/08_projections/projections_perspective.html

fovY Y field of view in degrees aspectRatio lens aspect ratio zNear The distance to the near clipping plane along the -Z axis. zFarThe distance to the far clipping plane along the -Z axis.