in reply to Graphics math.
I don't know about simplifying the number of tests, but if you are just looking to minimize the number of tests run at execution time, Would a bounding box be a possibility?
sub clip { if ( within_bounding_box ) { return 1 if .... } return 0; }
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Graphics math.
by BrowserUk (Patriarch) on Jun 03, 2015 at 18:14 UTC |