We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9173ed2 commit 10e25cfCopy full SHA for 10e25cf
src/main/java/workspace/GraphicsPImpl.java
@@ -116,14 +116,6 @@ private void applyTransform(Matrix4f transform) {
116
}
117
118
private void drawMeshFaces(Mesh3D mesh) {
119
- // g.beginShape(PApplet.TRIANGLES);
120
- // for (Face3D f : mesh.getFaces()) {
121
- // for (int index : f.indices) {
122
- // Vector3f v = mesh.vertices.get(index);
123
- // g.vertex(v.getX(), v.getY(), v.getZ());
124
- // }
125
126
- // g.endShape();
127
for (Face3D f : mesh.getFaces()) {
128
if (f.indices.length == 3) {
129
g.beginShape(PApplet.TRIANGLES);
0 commit comments