public Vector2f subtract(float valX, float valY) {
        return new Vector2f(x - valX, y - valY);
    }
Subtracts the specified amounts from the vector's components and returns
the difference as a new instance. The current instance is unaffected.

@param valX the amount to subtract from the X component
@param valY the amount to subtract from the Y component
@return a new Vector2f
jme3-core/src/main/java/com/jme3/math/Vector2f.java