Esempio n. 1
0
 static public int get_aabbs(IntPtr l)
 {
     try {
         LBoot.PhysicRender self = (LBoot.PhysicRender)checkSelf(l);
         pushValue(l, self.aabbs);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 2
0
 static public int renderAABBs(IntPtr l)
 {
     try {
         LBoot.PhysicRender self = (LBoot.PhysicRender)checkSelf(l);
         self.renderAABBs();
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 3
0
 static public int set_aabbs(IntPtr l)
 {
     try {
         LBoot.PhysicRender self = (LBoot.PhysicRender)checkSelf(l);
         System.Collections.Generic.List <LBoot.AABB> v;
         checkType(l, 2, out v);
         self.aabbs = v;
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 4
0
 static public int addAABB(IntPtr l)
 {
     try {
         LBoot.PhysicRender self = (LBoot.PhysicRender)checkSelf(l);
         System.Single      a1;
         checkType(l, 2, out a1);
         System.Single a2;
         checkType(l, 3, out a2);
         System.Single a3;
         checkType(l, 4, out a3);
         System.Single a4;
         checkType(l, 5, out a4);
         System.Single a5;
         checkType(l, 6, out a5);
         System.Single a6;
         checkType(l, 7, out a6);
         self.addAABB(a1, a2, a3, a4, a5, a6);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }