public Vector4f divide(float scalar) {
        scalar = 1f / scalar;
        return new Vector4f(x * scalar, y * scalar, z * scalar, w * scalar);
    }
<code>divide</code> divides the values of this vector by a scalar and
returns the result. The values of this vector remain untouched.

@param scalar
           the value to divide this vectors attributes by.
@return the result <code>Vector</code>.
jme3-core/src/main/java/com/jme3/math/Vector4f.java