diff --git a/core/PGraphics.java b/core/PGraphics.java index 3efdbbff6..c909da1b0 100644 --- a/core/PGraphics.java +++ b/core/PGraphics.java @@ -2329,21 +2329,28 @@ public class PGraphics extends PImage implements PConstants { depthError("rotateY"); } + + /** + * Rotate around the z axis. rotate() and rotateZ() are the same, + * it's just that it make sense to have rotate() and then rotateX() + * and rotateY() when running in 3D; nor does it make sense to use + * a function called rotateZ() if you're only doing things in 2D. + * so we just decided to have them both be the same. + */ public void rotateZ(float angle) { depthError("rotateZ"); } + /** + * Rotate about a vector in space. Same as the glRotatef() function. + */ public void rotate(float angle, float vx, float vy, float vz) { throw new RuntimeException("rotate(angle, x, y, z) " + "can only be used with P3D or OPENGL"); } - /** - * This will scale in all three dimensions, but not set the - * dimensions higher than two, in case this is still 2D mode. - */ public void scale(float s) { applyMatrix(s, 0, 0, 0, s, 0); diff --git a/core/todo.txt b/core/todo.txt index 0f2327562..57c8f0ddd 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -25,10 +25,12 @@ _ and start() is supposedly called by the applet viewer _ http://java.sun.com/j2se/1.4.2/docs/api/java/applet/Applet.html#start() _ need to track this stuff down a bit -_ prevent PGraphics.save() from inserting a file prefix -_ so that people can use absolute paths -_ or add a version that takes a file object +X prevent PGraphics.save() from inserting a file prefix +X so that people can use absolute paths +X or add a version that takes a file object +_ triangleColors are different because they're per-triangle +_ as opposed to per-vertex, because it's based on the facet of the tri _ make vertexCount etc properly accessible in PGraphics3 _ so that people can do things like the dxf renderer _ also have a simple way to hook in triangle leeches to PGraphics3 @@ -58,6 +60,9 @@ _ sonia is locking up on load in rev 91 _ prolly something w/ the threading issues _ http://dev.processing.org/bugs/show_bug.cgi?id=46 +_ bspline or nurbs before 1.0? +_ probably later, want to do the 3D/arch stuff correctly + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @@ -458,7 +463,7 @@ _ loadImage must be used inside or after setup _ either document this and/or provide a better error message _ http://processing.org/discourse/yabb/YaBB.cgi?board=Programs;action=display;num=1060879468 _ more blend() modes (the five listed on the thread below?) -_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1082056702 +_ http://dev.processing.org/bugs/show_bug.cgi?id=132 _ figure out what the modes should actually be: _ photoshop: normal, dissolve; darken, multiply, color burn, _ linear burn; lighten, screen, color dodge, linear