Skip to content
Snippets Groups Projects
Commit 7ee6f4e1 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[GL] Change Orientation's enum values.

This saves 1 instruction in getOrientation ;)
parent 7d8dc5be
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,9 @@ class LineSegment; ...@@ -33,7 +33,9 @@ class LineSegment;
enum Orientation enum Orientation
{ {
CW = 1, CCW = 2, COLLINEAR = 3 CW = -1,
COLLINEAR = 0,
CCW = 1
}; };
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment