Function cross

  • Get the cross product of two 3d vectors. For 2d vectors, we imply the z-component is zero and return a 3d vector. The function returns undefined for dimensions > 3.

    Returns

    Vector perpendicular to p1 and p2

    Parameters

    Returns Vector

Generated using TypeDoc