OpenGLContext.vectorutilities
Utilities for processing arrays of vectors
Functions
crossProduct(
set1
,
set2
)
Compute element-wise cross-product of two arrays of vectors.
set1, set2 -- sequence objects with 1 or more
3-item vector values. If both sets are
longer than 1 vector, they must be the same
length.
returns a double array with x elements,
where x is the number of 3-element vectors
in the longer set