diff options
Diffstat (limited to 'Polygon.cpp')
-rw-r--r-- | Polygon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Polygon.cpp b/Polygon.cpp index 7eaeaa9..8b32bb4 100644 --- a/Polygon.cpp +++ b/Polygon.cpp @@ -20,7 +20,7 @@ float Polygon::signedArea() const { Polygon::Direction Polygon::getDirection() const { float area = signedArea(); - return (area > 0) ? Triangle::CW : (area < 0) ? Triangle::CCW : Triangle::Unknown; + return (area > 0) ? Triangle::CW : (area < 0) ? Triangle::CCW : Triangle::UNKNOWN; } float Polygon::area() const { |