Skip to content

Commit 19c04a5

Browse files
committed
Updates chapter25/chapter25.md
Auto commit by GitBook Editor
1 parent 07ab95e commit 19c04a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter25/chapter25.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ Then, we will add method that filters the GameItems that outside the view frustu
115115

116116
```
117117
public void filter(List<GameItem> gameItems, float meshBoundingRadius) {
118-
float boundingRadious;
118+
float boundingRadius;
119119
Vector3f pos;
120120
for (GameItem gameItem : gameItems) {
121-
boundingRadious = gameItem.getScale() * meshBoundingRadious;
121+
boundingRadius = gameItem.getScale() * meshBoundingRadius;
122122
pos = gameItem.getPosition();
123123
gameItem.setInsideFrustum(insideFrustum(pos.x, pos.y, pos.z, boundingRadius));
124124
}

0 commit comments

Comments
 (0)