Vector2i.length

Get the length of a 2-dimensional single-precision vector.

@param x The vector's x component @param y The vector's y component

@return the length squared of the given vector

  1. double length()
  2. double length(int x, int y)
    struct Vector2i
    static
    double
    length
    (
    int x
    ,
    int y
    )

Meta