implemented createFont, and changed objectXYZ to modelXYZ

This commit is contained in:
benfry
2005-04-16 02:24:19 +00:00
parent 9e6e826eaf
commit 220b389436
6 changed files with 104 additions and 30 deletions

View File

@@ -764,7 +764,7 @@ public class PFont implements PConstants {
* @param smooth true to enable smoothing/anti-aliasing
*/
public PFont(Font font, char charset[], boolean smooth) {
if (PApplet.javaVersion < 1.3) {
if (PApplet.javaVersion < 1.3f) {
throw new RuntimeException("Can only create fonts with " +
"Java 1.3 or higher");
}