android sync

This commit is contained in:
codeanticode
2012-05-16 01:16:59 +00:00
parent 923872caea
commit 1cd006af19
5 changed files with 563 additions and 217 deletions

View File

@@ -27,7 +27,23 @@ public class PGraphics2D extends PGraphicsOpenGL {
public PGraphics2D() {
super();
hints[ENABLE_ACCURATE_2D] = true;
//hints[ENABLE_ACCURATE_2D] = true;
hints[ENABLE_PERSPECTIVE_CORRECTED_LINES] = false;
}
/**
* Return true if this renderer supports 2D drawing. Defaults to true.
*/
public boolean is2D() {
return true;
}
/**
* Return true if this renderer supports 2D drawing. Defaults to false.
*/
public boolean is3D() {
return false;
}
}