Added clipping code for near Z plane for triangles. Not yet turned on.

This commit is contained in:
juniperoserra
2005-04-18 21:36:24 +00:00
parent 9ce4e3f001
commit 8799167a0f
2 changed files with 268 additions and 31 deletions

View File

@@ -1839,4 +1839,10 @@ public class PGraphicsGL extends PGraphics3 {
System.out.println();
}
}
}
// GL will do the clipping for us
protected void add_triangle(int a, int b, int c) {
add_triangle_no_clip(a, b, c);
}
}