I'd say try utilizing this:
https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line#Line_defined_by_two_points
and checking if it's <= some small value (0.000001)
Otherwise maybe investigate what they have in the Graphics Gems series.
Did you see:
http://news.povray.org/povray.general/message/%3Cweb.5e97c81e9447013fb0b41570%40news.povray.org%3E/#%3Cweb.5e97c81e9447
013fb0b41570%40news.povray.org%3E
http://news.povray.org/povray.binaries.images/message/%3Cweb.5e97c744fd34edcfb0b41570%40news.povray.org%3E/#%3Cweb.5e97
c744fd34edcfb0b41570%40news.povray.org%3E
?
Post a reply to this message
|