BEPUutilities.Matrix3x3.CreateFromAxisAngle C# (CSharp) Method

CreateFromAxisAngle() public static method

Creates a matrix representing a rotation of a given angle around a given axis.
public static CreateFromAxisAngle ( System.Vector3 axis, float angle ) : Matrix3x3
axis System.Vector3 Axis around which to rotate.
angle float Amount to rotate.
return Matrix3x3
        public static Matrix3x3 CreateFromAxisAngle(Vector3 axis, float angle)
        {
            Matrix3x3 toReturn;
            CreateFromAxisAngle(ref axis, angle, out toReturn);
            return toReturn;
        }

Same methods

Matrix3x3::CreateFromAxisAngle ( System.Vector3 &axis, float angle, Matrix3x3 &result ) : void