Ejemplo n.º 1
0
 public bool Update(DbvtNode leaf, DbvtVolume volume, Vector3 velocity, float margin)
 {
     return(btDbvt_update6(_native, leaf._native, volume._native, ref velocity,
                           margin));
 }
Ejemplo n.º 2
0
 public bool Update(DbvtNode leaf, DbvtVolume volume, float margin)
 {
     return(btDbvt_update4(_native, leaf._native, volume._native, margin));
 }
Ejemplo n.º 3
0
 public bool Update(DbvtNode leaf, DbvtVolume volume, Vector3 velocity)
 {
     return(btDbvt_update5(_native, leaf._native, volume._native, ref velocity));
 }
Ejemplo n.º 4
0
 /*
  *      public static void EnumLeaves(DbvtNode root, ICollide policy)
  *      {
  *              btDbvt_enumLeaves(root._native, policy._native);
  *      }
  *
  *      public static void EnumNodes(DbvtNode root, ICollide policy)
  *      {
  *              btDbvt_enumNodes(root._native, policy._native);
  *      }
  *
  *      public static void ExtractLeaves(DbvtNode node, AlignedDbvtNodeArray leaves)
  *      {
  *              btDbvt_extractLeaves(node._native, leaves._native);
  *      }
  */
 public DbvtNode Insert(DbvtVolume box, IntPtr data)
 {
     return(new DbvtNode(btDbvt_insert(_native, box._native, data)));
 }
Ejemplo n.º 5
0
 public void Update(DbvtNode leaf, DbvtVolume volume)
 {
     btDbvt_update(_native, leaf._native, volume._native);
 }
Ejemplo n.º 6
0
 public bool Update(DbvtNode leaf, DbvtVolume volume, Vector3 velocity)
 {
     return btDbvt_update5(_native, leaf._native, volume._native, ref velocity);
 }
Ejemplo n.º 7
0
 public bool Update(DbvtNode leaf, DbvtVolume volume, Vector3 velocity, float margin)
 {
     return btDbvt_update6(_native, leaf._native, volume._native, ref velocity, margin);
 }
Ejemplo n.º 8
0
 public bool Update(DbvtNode leaf, DbvtVolume volume, float margin)
 {
     return btDbvt_update4(_native, leaf._native, volume._native, margin);
 }
Ejemplo n.º 9
0
 public void Update(DbvtNode leaf, DbvtVolume volume)
 {
     btDbvt_update(_native, leaf._native, volume._native);
 }
Ejemplo n.º 10
0
        /*
        public static void EnumLeaves(DbvtNode root, ICollide policy)
        {
            btDbvt_enumLeaves(root._native, policy._native);
        }

        public static void EnumNodes(DbvtNode root, ICollide policy)
        {
            btDbvt_enumNodes(root._native, policy._native);
        }

        public static void ExtractLeaves(DbvtNode node, AlignedDbvtNodeArray leaves)
        {
            btDbvt_extractLeaves(node._native, leaves._native);
        }
        */
        public DbvtNode Insert(DbvtVolume box, IntPtr data)
        {
            return new DbvtNode(btDbvt_insert(_native, box._native, data));
        }
Ejemplo n.º 11
0
 public void CollideTV(DbvtNode root, DbvtVolume volume, ICollide policy)
 {
     btDbvt_collideTV(_native, root._native, volume._native, policy._native);
 }
Ejemplo n.º 12
0
 public void CollideTV(DbvtNode root, DbvtVolume volume, ICollide policy)
 {
     btDbvt_collideTV(_native, root._native, volume._native, policy._native);
 }