vectorMath, crossProduct, scalarProduct

 From:  Michael Gibson
4951.2 In reply to 4951.1 
Hi Brian,

> vectorMath.makeVector is not in the documentation.
> Are there any other undocumented vectorMath methods?

Which documentation are you looking at? The only thing that I've really put out myself is the moi.idl file which you can get from this page here:
http://moi3d.com/wiki/Scripting

That does list makeVector in it, look for the "interface IMoiVectorMath" section to see what methods moi.vectorMath has available in it.


makeVector is just a convenience function that takes 2 points and returns a vector between the 2 points by subtracting them.

So if you do makeVector( ptA, ptB ) where ptA and ptB are some points, the return will be ptB - ptA which is a directional vector going from ptA to ptB.

I'll take a look at your code here in a minute.

- Michael