Viewer(this, float startX, float startY, float startZ)
Viewer(this)
The constructor is used to create the camera. At the the end of every frame, the camera's view is drawn to the screen automatically. Therefore, there can be only one Viewer in a sketch. User interaction defaults to using W,A,S,D for movement and E for jump (you don't have to set it up). Future versions of the Viewer library will allow you to define the movement keys. Also, jumping is enabled by default.
import processing.opengl.*; import carlucci.viewer.*; Viewer myViewer; void setup(){ size(800,600,OPENGL); myViewer = new Viewer(this, 100,200,300); }