PShapeOpenGL.createShape3D() is public

This commit is contained in:
codeanticode
2013-01-16 19:35:41 +00:00
parent 4dbcfb932d
commit 2d3a7a6610

View File

@@ -498,7 +498,7 @@ public class PShapeOpenGL extends PShape {
// Shape creation (temporary hack)
static protected PShapeOpenGL createShape3D(PApplet parent, PShape src) {
public static PShapeOpenGL createShape3D(PApplet parent, PShape src) {
PShapeOpenGL dest = null;
if (src.getFamily() == GROUP) {
dest = PGraphics3D.createShapeImpl(parent, GROUP);