public Vector4f mult(float scalar, Vector4f product) {
        if (null == product) {
            product = new Vector4f();
        }

        product.x = x * scalar;
        product.y = y * scalar;
        product.z = z * scalar;
        product.w = w * scalar;
        return product;
    }
<code>mult</code> multiplies this vector by a scalar. The resultant
vector is supplied as the second parameter and returned.

@param scalar the scalar to multiply this vector by.
@param product the product to store the result in.
@return product
jme3-core/src/main/java/com/jme3/math/Vector4f.java