コード例 #1
0
		public unsafe static void AabbTest(this BroadphaseInterface obj, ref OpenTK.Vector3 aabbMin, ref OpenTK.Vector3 aabbMax, BroadphaseAabbCallback callback)
		{
			fixed (OpenTK.Vector3* aabbMinPtr = &aabbMin)
			{
				fixed (OpenTK.Vector3* aabbMaxPtr = &aabbMax)
				{
					obj.AabbTest(ref *(BulletSharp.Math.Vector3*)aabbMinPtr, ref *(BulletSharp.Math.Vector3*)aabbMaxPtr, callback);
				}
			}
		}
コード例 #2
0
 public void AabbTest(Vector3 aabbMin, Vector3 aabbMax, BroadphaseAabbCallback callback)
 {
     btBroadphaseInterface_aabbTest(_native, ref aabbMin, ref aabbMax, callback._native);
 }
コード例 #3
0
 public unsafe static void AabbTest(this BroadphaseInterface obj, ref OpenTK.Vector3 aabbMin, ref OpenTK.Vector3 aabbMax, BroadphaseAabbCallback callback)
 {
     fixed(OpenTK.Vector3 *aabbMinPtr = &aabbMin)
     {
         fixed(OpenTK.Vector3 *aabbMaxPtr = &aabbMax)
         {
             obj.AabbTest(ref *(BulletSharp.Math.Vector3 *)aabbMinPtr, ref *(BulletSharp.Math.Vector3 *)aabbMaxPtr, callback);
         }
     }
 }
コード例 #4
0
 public void AabbTestRef(ref Vector3 aabbMin, ref Vector3 aabbMax, BroadphaseAabbCallback callback)
 {
     btBroadphaseInterface_aabbTest(_native, ref aabbMin, ref aabbMax, callback._native);
 }