Translate centre of PeasyCam rotation

Hi! I'd like to draw a 3D scene and control it with peasycam. The scene should be x-translated in the right part of the screen.

If I try:

void draw() {
  background(200);
  translate(200,0,0);
  //... draw the rest of the scene
}

the scene is translated but the center of rotation not. how to do it?

Tagged:

Answers

Sign In or Register to comment.