Click or drag to resize

Matrix3x2CreateRotation Method (Double, Vector2)

Creates a rotation matrix using the given rotation in radians and a center point.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Matrix3x2 CreateRotation(
	double radians,
	Vector2 centerPoint
)

Parameters

radians
Type: SystemDouble
The amount of rotation, in radians.
centerPoint
Type: Karamba.GeometryVector2
The center point.

Return Value

Type: Matrix3x2
A rotation matrix.
See Also