private static void writeColorBuffer(List<VertexData> vertices, ColorRGBA[] cols, Mesh mesh) {
        FloatBuffer colors = BufferUtils.createFloatBuffer(vertices.size() * 4);
        colors.rewind();
        for (ColorRGBA color : cols) {
            colors.put(color.r);
            colors.put(color.g);
            colors.put(color.b);
            colors.put(color.a);
        }
        mesh.clearBuffer(Type.Color);
        mesh.setBuffer(Type.Color, 4, colors);
    }
A private constructor to inhibit instantiation of this class.
jme3-core/src/main/java/com/jme3/util/TangentBinormalGenerator.java