Skip to content

Commit 2af5413

Browse files
committed
Add PGraphics delegation for bezierVertex, curveVertex, quadraticVertex, vertex overloads
1 parent e50c6e2 commit 2af5413

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/Processing.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5283,6 +5283,14 @@ inline void PGraphics::popMatrix() { if(PApplet
52835283
inline void PGraphics::beginShape() { if(PApplet::g_papplet) PApplet::g_papplet->beginShape(); }
52845284
inline void PGraphics::endShape(int mode) { if(PApplet::g_papplet) PApplet::g_papplet->endShape(mode); }
52855285
inline void PGraphics::vertex(float x, float y) { if(PApplet::g_papplet) PApplet::g_papplet->vertex(x,y); }
5286+
inline void PGraphics::vertex(float x, float y, float z) { if(PApplet::g_papplet) PApplet::g_papplet->vertex(x,y,z); }
5287+
inline void PGraphics::vertex(float x, float y, float u, float v) { if(PApplet::g_papplet) PApplet::g_papplet->vertex(x,y,u,v); }
5288+
inline void PGraphics::vertex(float x, float y, float z, float u, float v){ if(PApplet::g_papplet) PApplet::g_papplet->vertex(x,y,z,u,v); }
5289+
inline void PGraphics::bezierVertex(float cx1,float cy1,float cx2,float cy2,float x,float y)
5290+
{ if(PApplet::g_papplet) PApplet::g_papplet->bezierVertex(cx1,cy1,cx2,cy2,x,y); }
5291+
inline void PGraphics::curveVertex(float x, float y) { if(PApplet::g_papplet) PApplet::g_papplet->curveVertex(x,y); }
5292+
inline void PGraphics::curveVertex(float x, float y, float z) { if(PApplet::g_papplet) PApplet::g_papplet->curveVertex(x,y,z); }
5293+
inline void PGraphics::quadraticVertex(float cx, float cy, float x, float y){ if(PApplet::g_papplet) PApplet::g_papplet->quadraticVertex(cx,cy,x,y); }
52865294
inline void PGraphics::clear() { if(PApplet::g_papplet) PApplet::g_papplet->clear(); }
52875295
inline void PGraphics::translate(float x, float y, float z) { if(PApplet::g_papplet) PApplet::g_papplet->translate(x,y,z); }
52885296
inline void PGraphics::rotateX(float angle) { if(PApplet::g_papplet) PApplet::g_papplet->rotateX(angle); }

0 commit comments

Comments
 (0)