Function negate

  • Negates a vector.

    Parameters

    • v: Vec4

      The vector.

    • Optional dst: Vec4

      vector to hold result. If not passed in a new one is created.

    Returns Vec4

    -v.