Function normInto

  • b = รข

    Normalises the two-element vector a and stores the result in b

    Parameters

    • a: Vec2

      a 2-element vector object

    • b: Vec2

      a 2-element vector in which to store the result

    Returns Vec2

    b as a normalised

Generated using TypeDoc