public Vector2f mult(float scalar) {
        return new Vector2f(x * scalar, y * scalar);
    }
Multiplies with the scalar argument and returns the product as a new
instance. The current instance is unaffected.

@param scalar the scaling factor
@return a new {@code Vector2f}
jme3-core/src/main/java/com/jme3/math/Vector2f.java