• Generates a random vector with the given scale

    Parameters

    • out: vec2

      the receiving vector

    • Optional scale: number

      Length of the resulting vector. If ommitted, a unit vector will be returned

    Returns vec2

    out

Generated using TypeDoc