math docs
    Preparing search index...

    Function scale

    • Scales the radial distance r by a scalar

      Parameters

      • out: polar.Polar

        the receiving Polar

      • a: readonly [number, number]

        the source Polar

      • s: number

        scalar to multiply r by

      Returns polar.Polar

      out