Beispiel #1
0
        public float dotProduct(VectorBase2 vec)
        {
            float ret = OgrePINVOKE.Vector2_dotProduct(swigCPtr, VectorBase2.getCPtr(vec));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #2
0
        public float crossProduct(VectorBase2 rkVector)
        {
            float ret = OgrePINVOKE.VectorBase2_crossProduct(swigCPtr, VectorBase2.getCPtr(rkVector));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }