perspectiveHorizontal

fun perspectiveHorizontal(fovY: Double, aspectRatio: Double, zNear: Double, zFar: Double, xOffset: Double, yOffset: Double): Matrix44(source)

Creates an perspective projection matrix locking the horizontal view angle

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.