mirror of
https://github.com/processing/processing4.git
synced 2026-01-30 11:51:54 +01:00
Added fps
This commit is contained in:
@@ -33,7 +33,7 @@ void setup() {
|
||||
println("Supported resolutions:");
|
||||
for (int i = 0; i < res.length; i++) {
|
||||
println(res[i].width + "x" + res[i].height + ", " +
|
||||
res[i].fps + " (" + res[i].fpsString +")");
|
||||
res[i].fps + "fps (" + res[i].fpsString +")");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,6 +50,6 @@ public class Resolution {
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return width + "x" + height + ", " + PApplet.nfc(fps, 2) + " (" + fpsString +")";
|
||||
return width + "x" + height + ", " + PApplet.nfc(fps, 2) + "fps (" + fpsString +")";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user