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 |
look() |
|
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.look(radians(mouseX - pmouseX) / 2.0, radians(mouseY - pmouseY) / 2.0); } |
|
Description |
Moves the c.o.i. around the camera at its present position by the specified amounts. |
|
Syntax |
|
|
Parameters |
azAmount |
int or float: change in azimuth angle |
elAmount |
int or float: change in elevation angle |
|
Returns |
None |
|
Usage |
Web & Application |
|
Related |