Пример #1
0
 public void ReportRayOverlappingNodex(NodeOverlapCallback nodeCallback, Vector3 raySource, Vector3 rayTarget)
 {
     btQuantizedBvh_reportRayOverlappingNodex(_native, nodeCallback._native, ref raySource, ref rayTarget);
 }
Пример #2
0
 public void ReportBoxCastOverlappingNodex(NodeOverlapCallback nodeCallback, Vector3 raySource, Vector3 rayTarget, Vector3 aabbMin, Vector3 aabbMax)
 {
     btQuantizedBvh_reportBoxCastOverlappingNodex(_native, nodeCallback._native, ref raySource, ref rayTarget, ref aabbMin, ref aabbMax);
 }
Пример #3
0
        /*
        public static QuantizedBvh DeSerializeInPlace(IntPtr alignedDataBuffer, uint dataBufferSize, bool swapEndian)
        {
            return btQuantizedBvh_deSerializeInPlace(alignedDataBuffer, dataBufferSize, swapEndian);
        }

        public void Quantize(unsigned short out, Vector3 point, int isMax)
        {
            btQuantizedBvh_quantize(_native, out._native, ref point, isMax);
        }

        public void QuantizeWithClamp(unsigned short out, Vector3 point2, int isMax)
        {
            btQuantizedBvh_quantizeWithClamp(_native, out._native, ref point2, isMax);
        }
        */
        public void ReportAabbOverlappingNodex(NodeOverlapCallback nodeCallback, Vector3 aabbMin, Vector3 aabbMax)
        {
            btQuantizedBvh_reportAabbOverlappingNodex(_native, nodeCallback._native, ref aabbMin, ref aabbMax);
        }
Пример #4
0
 public void ReportRayOverlappingNodex(NodeOverlapCallback nodeCallback, Vector3 raySource,
                                       Vector3 rayTarget)
 {
     btQuantizedBvh_reportRayOverlappingNodex(_native, nodeCallback._native,
                                              ref raySource, ref rayTarget);
 }
Пример #5
0
 public void ReportBoxCastOverlappingNodex(NodeOverlapCallback nodeCallback,
                                           Vector3 raySource, Vector3 rayTarget, Vector3 aabbMin, Vector3 aabbMax)
 {
     btQuantizedBvh_reportBoxCastOverlappingNodex(_native, nodeCallback._native,
                                                  ref raySource, ref rayTarget, ref aabbMin, ref aabbMax);
 }
Пример #6
0
 /*
  *      public static QuantizedBvh DeSerializeInPlace(IntPtr alignedDataBuffer, uint dataBufferSize,
  *              bool swapEndian)
  *      {
  *              return btQuantizedBvh_deSerializeInPlace(alignedDataBuffer, dataBufferSize,
  *                      swapEndian);
  *      }
  *
  *      public void Quantize(unsigned short out, Vector3 point, int isMax)
  *      {
  *              btQuantizedBvh_quantize(_native, out._native, ref point, isMax);
  *      }
  *
  *      public void QuantizeWithClamp(unsigned short out, Vector3 point2, int isMax)
  *      {
  *              btQuantizedBvh_quantizeWithClamp(_native, out._native, ref point2, isMax);
  *      }
  */
 public void ReportAabbOverlappingNodex(NodeOverlapCallback nodeCallback,
                                        Vector3 aabbMin, Vector3 aabbMax)
 {
     btQuantizedBvh_reportAabbOverlappingNodex(_native, nodeCallback._native,
                                               ref aabbMin, ref aabbMax);
 }