예제 #1
0
 /// <summary>Does the bounds contain or intersect with the given
 /// capsule?</summary>
 /// <param name="linePt1">Start of the capsule.</param>
 /// <param name="linePt2">End of the capsule</param>
 /// <param name="radius">Radius of the capsule.</param>
 /// <returns>True if the capsule is in, or intersects with the
 /// bounds.</returns>
 public bool Contains(Vec3 linePt1, Vec3 linePt2, float radius)
 => NativeAPI.bounds_capsule_contains(this, linePt1, linePt2, radius);