Skip to content

Commit 5bfb2a9

Browse files
authored
Fix wrong test in the frustum (missing .length) (#22496)
1 parent be57bd9 commit 5bfb2a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/csm/Frustum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class Frustum {
109109

110110
}
111111

112-
if ( i === breaks - 1 ) {
112+
if ( i === breaks.length - 1 ) {
113113

114114
for ( let j = 0; j < 4; j ++ ) {
115115

0 commit comments

Comments
 (0)