Added fps

This commit is contained in:
codeanticode
2011-10-10 21:11:51 +00:00
parent 585c98415d
commit b3d4fc362b
2 changed files with 2 additions and 2 deletions

View File

@@ -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 +")");
}
}
}

View File

@@ -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 +")";
}
}