Sunday, October 16, 2016
Point-Normal Line Collision Code
Here is the source:
------------------------------------------------------
Point-Normal Line Collision : JavaScript Source:
http://pastebin.com/DvjwA67g
Point-Normal Line Collision : JavaScript for OpenScad:
http://pastebin.com/94aWgT8U
Point-Normal Line Collision : OpenScad Code:
http://pastebin.com/azXb7hhc
------------------------------------------------------
Point-Normal Line Collision Code.
Takes two lines in point-normal form and sees where
they intersect. Also tells you which segments the
collisions exist on. Where the length of each segment
is defined by the length of the NON-NORMALIZED
vector input.
There is probably a better name for what I did.
Seeing that I couldn't find the answer to this
on the internet.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment