float[] texCoords = boxTexCoords(xRepeat, yRepeat, zRepeat);
return new Mesh(QUADS, vertices, boxNormals(), texCoords, texture);
}
public static ViewModel box(Color color, float width, float height, float depth) {
return box(new Material(color), width, height, depth);
}