Vector of two Points

''' ---------------
''' Make a vector from two 3D points
''' ---------------
Function VectorCreate(p1, p2)
VectorCreate = Array(p2(0) - p1(0), p2(1) - p1(1), p2(2) - p1(2))
End Function

Page tags: library vector
page_revision: 1, last_edited: 1217786679|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License