Vector Multiplication

''' ---------------
''' Return the dot product of two 3D vectors
''' ---------------
Function VectorDotProduct(v1, v2)
VectorDotProduct = v1(XX) * v2(XX) + v1(YY) * v2(YY) + v1(ZZ) * v2(ZZ)
End Function

Page tags: library vector
page_revision: 0, last_edited: 1217786913|%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