diff options
author | epoch <epoch@hacking.allowed.org> | 2020-10-11 01:43:01 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-10-11 01:43:01 -0500 |
commit | 71992392c025c7d0d918c1706a4c5805dbf784ff (patch) | |
tree | 140dd733d4e6cd994c9b859c720c8542545dd623 /src/math.h | |
parent | 131e49b2e6436f87d328ea10bd192e62bf6c2cb0 (diff) | |
download | hackvr-71992392c025c7d0d918c1706a4c5805dbf784ff.tar.gz hackvr-71992392c025c7d0d918c1706a4c5805dbf784ff.zip |
added a epoch_PnPoly which mimics the interface the other *_PnPoly functions use, but it only just does a bounding box check. changed from cs_t to c2_t (int to real)
Diffstat (limited to 'src/math.h')
-rw-r--r-- | src/math.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -25,8 +25,8 @@ c2_t c2_add(c2_t p1,c2_t p2); real distance3(c3_t p1,c3_t p2); void print_point(c3_t p); -int isLeft(cs_t, cs_t, cs_t); -int cn_PnPoly(cs_t, cs_t *, int); -int wn_PnPoly(cs_t, cs_t *, int); - +int isLeft(c2_t, c2_t, c2_t); +int cn_PnPoly(c2_t, c2_t *, int); +int wn_PnPoly(c2_t, c2_t *, int); +int epoch_PnPoly(c2_t, c2_t *,int); #endif |