massive changes for revision 78

This commit is contained in:
benfry
2005-03-30 08:48:03 +00:00
parent f32040ef70
commit 1e4d61f341
17 changed files with 1345 additions and 341 deletions

View File

@@ -778,8 +778,8 @@ public class PGraphics3 extends PGraphics {
break;
case POLYGON:
case CONCAVE_POLYGON:
case CONVEX_POLYGON:
//case CONCAVE_POLYGON:
//case CONVEX_POLYGON:
{
// store index of first vertex
int first = lineCount;
@@ -853,8 +853,8 @@ public class PGraphics3 extends PGraphics {
break;
case POLYGON:
case CONCAVE_POLYGON:
case CONVEX_POLYGON:
//case CONCAVE_POLYGON:
//case CONVEX_POLYGON:
{
triangulate_polygon();
}
@@ -1463,9 +1463,17 @@ public class PGraphics3 extends PGraphics {
public void point(float x, float y, float z) {
/*
beginShape(POINTS);
vertex(x, y, z);
endShape();
*/
// hacked workaround for carlos line bug
beginShape(LINES);
vertex(x, y, z);
vertex(x + EPSILON, y + EPSILON, z);
endShape();
}
/*