Click or drag to resize

Matrix4x4CreateOrthographic Method

Creates an orthographic perspective matrix from the given view volume dimensions.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Matrix4x4 CreateOrthographic(
	double width,
	double height,
	double zNearPlane,
	double zFarPlane
)

Parameters

width
Type: SystemDouble
Width of the view volume.
height
Type: SystemDouble
Height of the view volume.
zNearPlane
Type: SystemDouble
Minimum Z-value of the view volume.
zFarPlane
Type: SystemDouble
Maximum Z-value of the view volume.

Return Value

Type: Matrix4x4
The orthographic projection matrix.
See Also