<commit_before>class Camera {

  Mouse mouse;
  PVector eye;
  PVector centre;
  PVector up;
  PVector angle;
  float fovy;
  float aspect;
  float zNear;
  float zFar;
  float speed;

  Camera(Mouse mouse, float height) {
    this.mouse = mouse;
    eye = new PVector(0, height, 0);
    centre = new PVector(0, height, -1);
    up = new PVector(0, 1, 0);
    angle = new PVector();
    fovy = HALF_PI * 3 / 4;
    aspect = 4 / 3.075;
    zNear = 0.1;
    zFar = 1000;
    speed = 2.0;
    perspective(fovy, aspect, zNear, zFar);
  }

  PVector forwardPosition() {
    PVector distance = new PVector(-sin(angle.x) * speed, 0, cos(angle.x) * speed);
    PVector position = eye.get();
    position.add(distance);
    return position;
  }

  PVector backwardPosition() {
    PVector distance = new PVector(sin(angle.x) * speed, 0, -cos(angle.x) * speed);
    PVector position = eye.get();
    position.add(distance);
    return position;
  }

  PVector leftPosition() {
    PVector distance = new PVector(sin(angle.x + HALF_PI) * speed, 0, -cos(angle.x + HALF_PI) * speed);
    PVector position = eye.get();
    position.add(distance);
    return position;
  }
<commit_msg>Increase far plane distance<commit_after>class Camera {

  Mouse mouse;
  PVector eye;
  PVector centre;
  PVector up;
  PVector angle;
  float fovy;
  float aspect;
  float zNear;
  float zFar;
  float speed;

  Camera(Mouse mouse, float height) {
    this.mouse = mouse;
    eye = new PVector(0, height, 0);
    centre = new PVector(0, height, -1);
    up = new PVector(0, 1, 0);
    angle = new PVector();
    fovy = HALF_PI * 3 / 4;
    aspect = 4 / 3.075;
    zNear = 0.1;
    zFar = 10000;
    speed = 2.0;
    perspective(fovy, aspect, zNear, zFar);
  }

  PVector forwardPosition() {
    PVector distance = new PVector(-sin(angle.x) * speed, 0, cos(angle.x) * speed);
    PVector position = eye.get();
    position.add(distance);
    return position;
  }

  PVector backwardPosition() {
    PVector distance = new PVector(sin(angle.x) * speed, 0, -cos(angle.x) * speed);
    PVector position = eye.get();
    position.add(distance);
    return position;
  }

  PVector leftPosition() {
    PVector distance = new PVector(sin(angle.x + HALF_PI) * speed, 0, -cos(angle.x + HALF_PI) * speed);
    PVector position = eye.get();
    position.add(distance);
    return position;
  }

{'fraction_non_alphanumeric': 0.13248407643312102, 'fraction_numerical': 0.02165605095541401, 'mean_word_length': 2.849673202614379, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3562511', 'n_tokens_mistral': 889, 'n_tokens_neox': 828, 'n_words': 229}