예제 #1
0
 /// <summary>
 /// Check if a point lies within a AABB
 /// </summary>
 /// <param name="aabb"></param>
 /// <param name="point"></param>
 /// <returns></returns>
 public static bool Intersects(AABBf aabb, float3 point)
 {
     return(aabb.Intersects(point));
 }
예제 #2
0
 /// <summary>
 /// Check if two AABBs intersect each other
 /// </summary>
 /// <param name="left"></param>
 /// <param name="right"></param>
 /// <returns></returns>
 public static bool Intersects(AABBf left, AABBf right)
 {
     return(left.Intersects(right));
 }