BEPUutilities.Matrix3x3.CreateFromAxisAngle C# (CSharp) 메소드

CreateFromAxisAngle() 공개 정적인 메소드

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.
리턴 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