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

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License