computeInfinitePerspectiveOffCenter
fun computeInfinitePerspectiveOffCenter(left: Double, right: Double, bottom: Double, top: Double, near: Double, result: Matrix4): Matrix4(source)
Computes a Matrix4 instance representing an infinite off center perspective transformation.
Return
The modified result parameter.
Parameters
left
The number of meters to the left of the camera that will be in view.
right
The number of meters to the right of the camera that will be in view.
bottom
The number of meters below of the camera that will be in view.
top
The number of meters above of the camera that will be in view.
near
The distance to the near plane in meters.
result
The object in which the result will be stored.