• Multiplies each element of a three-element vector by a scalar.

    Parameters

    • v: Vec3

      The three-element vector

    • s: number

      The scalar value to multiply

    • Optionaldest: Vec3

      The destination vector, optional

    Returns Vec3

    The resulting vector after multiplication