You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Fix typos with codespell
Using codespell 2.1.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
(cherry picked from commit b197de6f5f)
This commit is contained in:
@@ -508,7 +508,7 @@ void PVSBuilder::trace_rooms_recursive(int p_depth, int p_source_room_id, int p_
|
||||
// if portal is totally inside the planes, don't copy the old planes ..
|
||||
// i.e. we can now cull using the portal and forget about the rest of the frustum (yay)
|
||||
if (overall_res != VSPortal::ClipResult::CLIP_INSIDE) {
|
||||
// if it WASNT totally inside the existing frustum, we also need to add any existing planes
|
||||
// if it WASN'T totally inside the existing frustum, we also need to add any existing planes
|
||||
// that cut the portal.
|
||||
for (uint32_t n = 0; n < partial_planes.size(); n++)
|
||||
planes.push_back(p_planes[partial_planes[n]]);
|
||||
@@ -644,7 +644,7 @@ void PVSBuilder::trace_rooms_recursive_simple(int p_depth, int p_source_room_id,
|
||||
// if portal is totally inside the planes, don't copy the old planes ..
|
||||
// i.e. we can now cull using the portal and forget about the rest of the frustum (yay)
|
||||
if (overall_res != VSPortal::ClipResult::CLIP_INSIDE) {
|
||||
// if it WASNT totally inside the existing frustum, we also need to add any existing planes
|
||||
// if it WASN'T totally inside the existing frustum, we also need to add any existing planes
|
||||
// that cut the portal.
|
||||
for (uint32_t n = 0; n < partial_planes.size(); n++)
|
||||
planes.push_back(p_planes[partial_planes[n]]);
|
||||
|
||||
Reference in New Issue
Block a user