public static final float[] rotate(final float[] v, final float[][] m) {
        float x = v[0] * m[0][0] + v[1] * m[0][1] + v[2] * m[0][2];
        float y = v[0] * m[1][0] + v[1] * m[1][1] + v[2] * m[1][2];
        float z = v[0] * m[2][0] + v[1] * m[2][1] + v[2] * m[2][2];
        return new float[] { x, y, z };
    }
A private constructor to inhibit instantiation of this class.
jme3-terrain/src/main/java/com/jme3/terrain/noise/ShaderUtils.java