Reference for OCD version 1.4 for use with Processing (BETA) version 125+. If you see any errors or have any comments, let me know.
| Name | track() | |
| Examples | import damkjer.ocd.*;
Camera camera1;
void setup() {
  size(100, 100, P3D);
  camera1 = new Camera(this, 100, -125, 150);
}
void draw() {
  background(204);
  lights();
  camera1.feed();
  rotateY(PI/3);
  box(50);
}
void mouseMoved() {
  camera1.track(mouseX - pmouseX, mouseY - pmouseY);
} | |
| Description | Moves the camera and c.o.i. simulataneously in the local x-y plane. | |
| Syntax | 
 | |
| Parameters | xDistance | int or float: distance to move along the side vector | 
| targetY | int or float: distance to move along the up vector | |
| Returns | None | |
| Usage | Web & Application | |
| Related | ||
