Fix typos with codespell

Using codespell 2.2-dev from current git.

Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.

(cherry picked from commit 1bdb82c64e)
This commit is contained in:
Rémi Verschelde 2022-02-10 12:00:11 +01:00
parent 1865f06bef
commit 7a16bb2ee4
No known key found for this signature in database
GPG key ID: C3336907360768E1
41 changed files with 70 additions and 65 deletions

View file

@ -362,7 +362,7 @@ Vector2 VisualServer::norm_to_oct(const Vector3 v) {
}
// Maps normalized tangent vector to an octahedron projected onto the cartesian plane
// Encodes the tangent vector sign in the second componenet of the returned Vector2 for use in shaders
// Encodes the tangent vector sign in the second component of the returned Vector2 for use in shaders
// high_precision specifies whether the encoding will be 32 bit (true) or 16 bit (false)
// Resulting 2D vector in range [-1, 1]
// See http://jcgt.org/published/0003/02/01/ for details