• Scales a vec2 by a scalar number

    Parameters

    • out: vec2

      the receiving vector

    • a: ReadonlyVec2

      the vector to scale

    • b: number

      amount to scale the vector by

    Returns vec2

    out

Generated using TypeDoc