Vector2i.lengthSquared

Get the length squared 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. long lengthSquared()
  2. long lengthSquared(int x, int y)
    struct Vector2i
    public static
    long
    lengthSquared
    (
    int x
    ,
    int y
    )

Meta