/*
 public int ClipTriangle(PrimitiveTriangle other, Vector3 clippedPoints)
 {
     return btPrimitiveTriangle_clip_triangle(_native, other._native, ref clippedPoints);
 }
 */
 public bool FindTriangleCollisionClipMethod(PrimitiveTriangle other, GimTriangleContact contacts)
 {
     return btPrimitiveTriangle_find_triangle_collision_clip_method(_native, other._native, contacts._native);
 }
 public void CopyFrom(GimTriangleContact other)
 {
     GIM_TRIANGLE_CONTACT_copy_from(_native, other._native);
 }
 public GimTriangleContact(GimTriangleContact other)
 {
     _native = GIM_TRIANGLE_CONTACT_new2(other._native);
 }
 public void CopyFrom(GimTriangleContact other)
 {
     GIM_TRIANGLE_CONTACT_copy_from(Native, other.Native);
 }
 public GimTriangleContact(GimTriangleContact other)
 {
     Native = GIM_TRIANGLE_CONTACT_new2(other.Native);
 }
예제 #6
0
 /*
  *      public int ClipTriangle(PrimitiveTriangle other, Vector3 clippedPoints)
  *      {
  *              return btPrimitiveTriangle_clip_triangle(_native, other._native, ref clippedPoints);
  *      }
  */
 public bool FindTriangleCollisionClipMethod(PrimitiveTriangle other, GimTriangleContact contacts)
 {
     return(btPrimitiveTriangle_find_triangle_collision_clip_method(_native, other._native, contacts._native));
 }
        public GimTriangleContact(GimTriangleContact other)
        {
            IntPtr native = GIM_TRIANGLE_CONTACT_new2(other.Native);

            InitializeUserOwned(native);
        }