You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Fix typos with codespell
Using codespell 2.0.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
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 eb78f80f03)
This commit is contained in:
@@ -989,7 +989,7 @@ void LightmapperCPU::_post_process(uint32_t p_idx, void *r_output) {
|
||||
|
||||
void LightmapperCPU::_compute_seams(const MeshInstance &p_mesh, LocalVector<UVSeam> &r_seams) {
|
||||
float max_uv_distance = 1.0f / MAX(p_mesh.size.x, p_mesh.size.y);
|
||||
max_uv_distance *= max_uv_distance; // We use distance_to_squared(), so wee need to square the max distance as well
|
||||
max_uv_distance *= max_uv_distance; // We use distance_to_squared(), so we need to square the max distance as well
|
||||
float max_pos_distance = 0.00025f;
|
||||
float max_normal_distance = 0.05f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user