You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +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:
@@ -122,7 +122,7 @@ typedef std::vector<int> MatIndexArray;
|
||||
/// ## Map Type:
|
||||
/// * None The mapping is undetermined.
|
||||
/// * ByVertex There will be one mapping coordinate for each surface control point/vertex (ControlPoint is a vertex).
|
||||
/// * If you have direct reference type verticies[x]
|
||||
/// * If you have direct reference type vertices[x]
|
||||
/// * If you have IndexToDirect reference type the UV
|
||||
/// * ByPolygonVertex There will be one mapping coordinate for each vertex, for every polygon of which it is a part. This means that a vertex will have as many mapping coordinates as polygons of which it is a part. (Sorted by polygon, referencing vertex)
|
||||
/// * ByPolygon There can be only one mapping coordinate for the whole polygon.
|
||||
@@ -186,7 +186,7 @@ public:
|
||||
/// Returns -1 if the vertices doesn't form an edge. Vertex order, doesn't
|
||||
// matter.
|
||||
static int get_edge_id(const std::vector<Edge> &p_map, int p_vertex_a, int p_vertex_b);
|
||||
// Retuns the edge point bu that ID, or the edge with -1 vertices if the
|
||||
// Returns the edge point bu that ID, or the edge with -1 vertices if the
|
||||
// id is not valid.
|
||||
static Edge get_edge(const std::vector<Edge> &p_map, int p_id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user