From cded0e4a3bae0fec91570a2bdc5f488b3e1f48aa Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Tue, 5 Nov 2013 15:17:54 -0400 Subject: [PATCH] Fixed a typo when love.math.triangulate errors --- src/modules/math/MathModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/math/MathModule.cpp b/src/modules/math/MathModule.cpp index de145ae2c..bbac3ef3a 100644 --- a/src/modules/math/MathModule.cpp +++ b/src/modules/math/MathModule.cpp @@ -104,7 +104,7 @@ BezierCurve *Math::newBezierCurve(const vector &points) vector Math::triangulate(const vector &polygon) { if (polygon.size() < 3) - throw love::Exception("Not a ploygon"); + throw love::Exception("Not a polygon"); else if (polygon.size() == 3) return vector(1, Triangle(polygon[0], polygon[1], polygon[2]));