summaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-09-12 21:38:39 -0400
committerluz.paz <luzpaz@users.noreply.github.com>2018-09-12 21:39:17 -0400
commit08bde5b2dea65ef3f80af5de4f4caf0e76982b64 (patch)
treef4b5e8b60aa121d9ced1274b43a6ffac240f6790 /core/math
parent0d04fb76e1d4543d04d6e41244c06f35bfecb07c (diff)
Misc. typos
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
Diffstat (limited to 'core/math')
-rw-r--r--core/math/octree.h2
-rw-r--r--core/math/triangulate.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/math/octree.h b/core/math/octree.h
index 4e3d6257f0..a0b99fc0a2 100644
--- a/core/math/octree.h
+++ b/core/math/octree.h
@@ -478,7 +478,7 @@ void Octree<T, use_pairs, AL>::_insert_element(Element *p_element, Octant *p_oct
splits++;
}
} else {
- /* check againt AABB where child should be */
+ /* check against AABB where child should be */
AABB aabb = p_octant->aabb;
aabb.size *= 0.5;
diff --git a/core/math/triangulate.cpp b/core/math/triangulate.cpp
index 0edc0ea039..69ffc95946 100644
--- a/core/math/triangulate.cpp
+++ b/core/math/triangulate.cpp
@@ -186,7 +186,7 @@ bool Triangulate::triangulate(const Vector<Vector2> &contour, Vector<int> &resul
nv--;
- /* resest error detection counter */
+ /* reset error detection counter */
count = 2 * nv;
}
}