mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
implemented createFont, and changed objectXYZ to modelXYZ
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user