public Vector2f negateLocal() {
        x = -x;
        y = -y;
        return this;
    }
Negates both components and returns the (modified) current instance.

@return the (modified) current instance (for chaining)
jme3-core/src/main/java/com/jme3/math/Vector2f.java