예제 #1
0
파일: physx.cs 프로젝트: kewur/PhysX-Sharp
        public static PxTransform PxTransformFromPlaneEquation(PxPlane plane)
        {
            PxTransform ret = new PxTransform(physxPINVOKE.PxTransformFromPlaneEquation(PxPlane.getCPtr(plane)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
        public PxPlane inverseTransform(PxPlane plane)
        {
            PxPlane ret = new PxPlane(physxPINVOKE.PxTransform_inverseTransform(swigCPtr, PxPlane.getCPtr(plane)), true);

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