public float dotProduct(VectorBase2 vec) { float ret = OgrePINVOKE.Vector2_dotProduct(swigCPtr, VectorBase2.getCPtr(vec)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public float crossProduct(VectorBase2 rkVector) { float ret = OgrePINVOKE.VectorBase2_crossProduct(swigCPtr, VectorBase2.getCPtr(rkVector)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VectorBase2 obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }