@@ -3438,6 +3438,8 @@ class PShape {
34383438 void beginShape (int k=-1 ) { kind=k; verts.clear (); }
34393439 void endShape (bool close=false ) { closed=close; }
34403440 ::std::vector<float > params; // for primitive shapes (ELLIPSE, RECT, etc.)
3441+ ::std::vector<float > params; // for primitive shapes (ELLIPSE, RECT, etc.)
3442+ ::std::vector<float > params; // for primitive shapes (ELLIPSE, RECT, etc.)
34413443 void vertex (float x,float y,float z=0 ,float u=0 ,float v=0 ) { verts.push_back ({x,y,z,u,v}); }
34423444 void addChild (const PShape& s) { children.push_back (s); }
34433445 void addChild (const PShape* s) { if (s) addChild (*s); }
@@ -4664,6 +4666,8 @@ struct PApplet {
46644666 PShape createShape (int kind=-1 );
46654667 PShape* loadShape (const ::std::string& path);
46664668 PShape createShape (int kind, float a, float b, float c, float d);
4669+ PShape createShape (int kind, float a, float b, float c, float d);
4670+ PShape createShape (int kind, float a, float b, float c, float d);
46674671 void shape (const PShape& s, float x=0 , float y=0 );
46684672 void shape (const PShape& s, float x, float y, float w, float h);
46694673 void shape (const PShape* s, float x=0 , float y=0 ) { if (s) shape (*s,x,y); }
0 commit comments