Spelling fixes

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6456 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien
2023-03-31 13:12:47 +00:00
committed by sfan5
parent c766c3a023
commit e1f41edd29
6 changed files with 7 additions and 7 deletions

View File

@ -66,7 +66,7 @@ class line2d
vector2d<T> getVector() const { return vector2d<T>( end.X - start.X, end.Y - start.Y); }
/*! Check if this segment intersects another segment,
or if segments are coincindent (colinear). */
or if segments are coincident (colinear). */
bool intersectAsSegments( const line2d<T>& other) const
{
// Taken from:
@ -83,7 +83,7 @@ class line2d
if (o1 != o2 && o3 != o4)
return true;
// Special Cases to check if segments are coolinear
// Special Cases to check if segments are colinear
if (o1 == 0 && other.start.isBetweenPoints( start, end)) return true;
if (o2 == 0 && other.end.isBetweenPoints( start, end)) return true;
if (o3 == 0 && start.isBetweenPoints( other.start, other.end)) return true;