Function divInto

  • b = a / s

    Divides the two-element vector a by the scalar s and stores the result in b

    Parameters

    • a: Vec2

      a 2-element vector object

    • s: number

      a scalar value

    • b: Vec2

      a 2-element vector in which to store the result

    Returns Vec2

    b as the result of a / s

Generated using TypeDoc