mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 02:20:45 +01:00
finalizing camera api, added source(), settings(), and format().. also
fixed unhex
This commit is contained in:
@@ -4706,7 +4706,8 @@ public class PApplet extends Applet
|
||||
}
|
||||
|
||||
static final public int unhex(String what) {
|
||||
return Integer.parseInt(what, 16);
|
||||
// has to parse as a Long so that it'll work for numbers bigger than 2^31
|
||||
return (int) (Long.parseLong(what, 16));
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user