BulletCSharp.btQuaternion.setRotation C# (CSharp) Method

setRotation() public method

public setRotation ( btVector3 axis, float _angle ) : void
axis btVector3
_angle float
return void
        public void setRotation(btVector3 axis, float _angle)
        {
            LinearMathPINVOKE.btQuaternion_setRotation(swigCPtr, btVector3.getCPtr(axis), _angle);
            if (LinearMathPINVOKE.SWIGPendingException.Pending) throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
        }