public Vector4f mult(float scalar) {
        return new Vector4f(x * scalar, y * scalar, z * scalar, w * scalar);
    }
<code>mult</code> multiplies this vector by a scalar. The resultant
vector is returned.

@param scalar
           the value to multiply this vector by.
@return the new vector.
jme3-core/src/main/java/com/jme3/math/Vector4f.java