private boolean isValidNumber(Quaternion q) {
        return isValidNumber(q.getX()) && isValidNumber(q.getY()) && isValidNumber(q.getZ()) && isValidNumber(q.getW());
    }
Update the location of the specified Uniform in the specified Shader.

@param shader the Shader containing the Uniform (not null)
@param uniform the Uniform to update (not null)
jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java