Skip to content

Commit b7a5653

Browse files
author
Julia Schwarz
committed
fix comment
1 parent 5376523 commit b7a5653

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/MixedRealityToolkit/Utilities/CameraFOVChecker.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public static class CameraFOVChecker
2727
/// <summary>
2828
/// Returns true if a collider's bounds is within the camera FOV.
2929
/// Utilizes a cache to test if this collider has been seen before and returns current frame's calculated result.
30+
/// NOTE: This is a 'loose' FOV check -- it can return true in cases when the collider is actually not in the FOV
31+
/// because it does an axis-aligned check when testing for large colliders. So, if the axis aligned bounds are in the bounds of the camera, it will return true.
3032
/// </summary>
3133
/// <param name="myCollider">The collider to test</param>
3234
public static bool IsInFOVCached(this Camera cam, Collider myCollider)

0 commit comments

Comments
 (0)