Matrix3x3FromAngleAxis Method |
Creates a rotation matrix for a rotation about an arbitrary axis.
Namespace: Internal.AssimpAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic static Matrix3x3 FromAngleAxis(
float radians,
Vector3 axis
)
Parameters
- radians Single
- Rotation angle, in radians
- axis Vector3
- Rotation axis, which should be a normalized vector.
Return Value
Matrix3x3The rotation matrix
See Also