78910111213141516
public class TestPeasy extends PApplet { PeasyCam cam; public void setup() { size(200, 200, P3D); cam = new PeasyCam(this, 100); cam.setMinimumDistance(50); cam.setMaximumDistance(500); cam.setWheelScale(4.0); }
1516171819202122232425
public void setup() { //camera size(displayWidth,displayHeight,P3D); cam = new PeasyCam(this, 0,0,0,100); cam.setYawRotationMode(); cam.rotateZ(PI/8); //minim minim = new Minim(this);