public static int pipeNormals(int lod, float[] dest, int start) {
return pipeVertices(1.0f, 0.0f, lod, dest, start);
}
public static ViewModel pipe(Material sides, float hRepeat, float vRepeat, float radius, float length, int lod) {
return new Mesh(QUADS, pipeVertices(radius, length, lod), pipeNormals(lod), pipeTexCoords(hRepeat, vRepeat, lod), sides);
}