|
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
)
Public Shared Function CreateRotation (
radians As Double,
centerPoint As Vector2
) As Matrix3x2
public:
static Matrix3x2 CreateRotation(
double radians,
Vector2 centerPoint
)
static member CreateRotation :
radians : float *
centerPoint : Vector2 -> Matrix3x2
Parameters
- radians
- Type: SystemDouble
The amount of rotation, in radians. - centerPoint
- Type: Karamba.GeometryVector2
The center point.
Return Value
Type:
Matrix3x2A rotation matrix.
See Also