|
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
)
Public Shared Function CreateFromAxisAngle (
axis As Vector3,
angle As Double
) As Matrix4x4
public:
static Matrix4x4 CreateFromAxisAngle(
Vector3 axis,
double angle
)
static member CreateFromAxisAngle :
axis : Vector3 *
angle : float -> Matrix4x4
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:
Matrix4x4The rotation matrix.
See Also