Skip to content

Commit f56af3b

Browse files
committed
Keep getFrameRate as convenience, remove getWidth/getHeight (use width/height)
1 parent f1abac7 commit f56af3b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Processing.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4292,9 +4292,7 @@ struct PApplet {
42924292
void fullScreen();
42934293
void fullScreen(int mode);
42944294
void frameRate(int fps);
4295-
float getFrameRate() const { return _frameRate; }
4296-
int getWidth() const { return winWidth; }
4297-
int getHeight() const { return winHeight; }
4295+
float getFrameRate() const { return _frameRate; } // convenience, not in Processing Java
42984296
void noLoop();
42994297
void loop();
43004298
void redraw();

0 commit comments

Comments
 (0)