Skip to content

Commit

Permalink
fix(Camera): rename intersectSphere to intersectsSphere
Browse files Browse the repository at this point in the history
  • Loading branch information
mgermerie authored and gchoqueux committed Feb 3, 2021
1 parent ca7aaeb commit f5e1004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Renderer/Camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class Camera {
} else {
tmp.frustum.setFromProjectionMatrix(this._viewMatrix);
}
return tmp.frustum.intersectSphere(sphere);
return tmp.frustum.intersectsSphere(sphere);
}

box3SizeOnScreen(box3, matrixWorld) {
Expand Down

0 comments on commit f5e1004

Please # to comment.