diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-04-19 12:01:48 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-04-19 12:01:48 +0100 |
| commit | e64e431b123da3afd0658375f91f50ed00910f67 (patch) | |
| tree | 2f00cb9b788d709f6c319ee43d336fe1a75d2357 /gaunt01/src/outsidePolygon.cpp | |
| parent | 98437cad0a3a59245e5fe772d4e310de4228757a (diff) | |
billboards etc
Diffstat (limited to 'gaunt01/src/outsidePolygon.cpp')
| -rw-r--r-- | gaunt01/src/outsidePolygon.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gaunt01/src/outsidePolygon.cpp b/gaunt01/src/outsidePolygon.cpp index 8f9b61e..deda88f 100644 --- a/gaunt01/src/outsidePolygon.cpp +++ b/gaunt01/src/outsidePolygon.cpp @@ -2,6 +2,7 @@ bool OutsidePolygon(vector<ofPoint>& polygon,ofPoint p) +//winding rule algorithm for 2D polygon containment test //thanks to Paul Bourke //http://local.wasp.uwa.edu.au/~pbourke/geometry/insidepoly/ { |
