ixfx
    Preparing search index...

    Namespace Vectors

    Helper functions for working with vectors, which can either be a Point or Polar Polar.Coord. While most of the functionality is provided in either of those modules, the Vector module lets you cleanly interoperate between these two coordinates.

    Functions

    clampMagnitude
    divide
    dotProduct
    fromLineCartesian
    fromLinePolar
    fromPointPolar
    fromRadians
    multiply
    normalise
    quadrantOffsetAngle
    subtract
    sum
    toCartesian
    toPolar
    toRadians
    toString