cross (<point1>,<point2>)
point
The cross product of two 3-D vectors.
<point1>
Vector u.
<point2>
Vector v.
The answer is computed as (u2*v3-v2*u3, v1*u3-u1*v3, u1*v2-v1*u2).
Get the cross product of two direction vectors (u and v), each computed from two 3-D points defined interactively
point u = dir3d(pcur,pcur) point v = dir3d(pcur,pcur) point dir = cross(u,v)