don't need 2D/3D versions of createShape()

This commit is contained in:
codeanticode
2015-06-12 15:48:12 -04:00
parent 0c6acb9025
commit 8a8ace9bed
3 changed files with 18 additions and 16 deletions

View File

@@ -126,7 +126,7 @@ public class PGraphics3D extends PGraphicsOpenGL {
obj = new PShapeOBJ(pg.parent, filename);
int prevTextureMode = pg.textureMode;
pg.textureMode = NORMAL;
PShapeOpenGL p3d = PShapeOpenGL.createShape3D((PGraphicsOpenGL)pg, obj);
PShapeOpenGL p3d = PShapeOpenGL.createShape((PGraphicsOpenGL)pg, obj);
pg.textureMode = prevTextureMode;
return p3d;
}