예제 #1
0
파일: World.cs 프로젝트: jonigata/Tcf
        public VehiclePointLoad[] GetPointLoads(IntPtr body)
        {
            Assert.IsTrue(nativeWorld != IntPtr.Zero);
            int c = PartixDll.GetWireFrameVertexCount(nativeWorld, body);

            VehiclePointLoad[] a = new VehiclePointLoad[c];
            PartixDll.GetPointLoads(nativeWorld, body, a);
            return(a);
        }
예제 #2
0
파일: World.cs 프로젝트: jonigata/Tcf
        public Vector3[] GetWireFrameVertices(IntPtr body)
        {
            Assert.IsTrue(nativeWorld != IntPtr.Zero);
            int c = PartixDll.GetWireFrameVertexCount(nativeWorld, body);

            Vector3[] a = new Vector3[c];
            PartixDll.GetWireFrameVertices(nativeWorld, body, a);
            return(a);
        }