Nu/Nu.Math/Matrix3x3.cs
/// <summary>
/// Build a rotation matrix from the specified axis/angle rotation.
/// </summary>
/// <param name="axis">The axis to rotate about.</param>
/// <param name="angle">Angle in radians to rotate counter-clockwise (looking in the direction of the given axis).</param>
/// <returns>A matrix instance.</returns>
Build a rotation matrix from the specified axis/angle rotation.
Build a rotation matrix from the specified axis / angle rotation .
public static Matrix3x3 CreateFromAxisAngle(Vector3 axis, float angle)
        {
            Matrix3x3 result;
            CreateFromAxisAngle(axis, angle, out result);
            return result;
        }
public static Matrix3x3 CreateFromAxisAngle ( Vector3 axis , float angle ) { Matrix3x3 result ; CreateFromAxisAngle ( axis , angle , out result ) ; return result ; }
Build a rotation matrix from the specified axis/angle rotation.
Build a rotation matrix from the specified axis / angle rotation .
A matrix instance.
A matrix instance .
axis
Vector3
The axis to rotate about.
The axis to rotate about .
angle
float
Angle in radians to rotate counter-clockwise (looking in the direction of the given axis).
Angle in radians to rotate counter - clockwise ( looking in the direction of the given axis ) .