Click or drag to resize

Matrix4x4CreateFromAxisAngle Method

Creates a matrix that rotates around an arbitrary vector.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Matrix4x4 CreateFromAxisAngle(
	Vector3 axis,
	double angle
)

Parameters

axis
Type: Karamba.GeometryVector3
The axis to rotate around.
angle
Type: SystemDouble
The angle to rotate around the given axis, in radians.

Return Value

Type: Matrix4x4
The rotation matrix.
See Also