You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +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:
@@ -129,7 +129,7 @@ Transform get_unscaled_transform(const Transform &p_initial, real_t p_scale) {
|
||||
}
|
||||
|
||||
Vector3 get_poly_normal(const std::vector<Vector3> &p_vertices) {
|
||||
ERR_FAIL_COND_V_MSG(p_vertices.size() < 3, Vector3(0, 0, 0), "At least 3 vertices are necesary");
|
||||
ERR_FAIL_COND_V_MSG(p_vertices.size() < 3, Vector3(0, 0, 0), "At least 3 vertices are necessary");
|
||||
// Using long double to make sure that normal is computed for even really tiny objects.
|
||||
typedef long double ldouble;
|
||||
ldouble x = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user