<commit_before>import org.jsfml.audio.*;
import org.jsfml.window.event.*;
import org.jsfml.window.*;
import org.jsfml.system.*;
import org.jsfml.internal.*;
import org.jsfml.graphics.*;

class VRListener {
  PVector location;
  PVector direction;

  VRListener(PVector location_, PVector direction_) {

    // VRListener is just a thin wrap around the Listener object
    // which allows us to render a representation of it.

    location = location_;
    direction = direction_;

    // Listener represents the location and direction of the listener in 3D space
    // It doesn't require instantiation and has only static methods.

    Listener.setPosition(location.x, location.y, location.z);
    Listener.setDirection(direction.x, direction.y, direction.z);
  }

  void display() {
    pushMatrix();

    // Draw a red sphere representing the location of the listener
    PVector l = location.get();
    l.add(new PVector(width/2, height/2, 0));
    translate(l.x, l.y, l.z);   
    fill(200, 15, 15);
    sphere(20);
    fill(255);
<commit_msg>Change translation of listener obj.<commit_after>import org.jsfml.audio.*;
import org.jsfml.window.event.*;
import org.jsfml.window.*;
import org.jsfml.system.*;
import org.jsfml.internal.*;
import org.jsfml.graphics.*;

class VRListener {
  PVector location;
  PVector direction;

  VRListener(PVector location_, PVector direction_) {

    // VRListener is just a thin wrap around the Listener object
    // which allows us to render a representation of it.

    location = location_;
    direction = direction_;

    // Listener represents the location and direction of the listener in 3D space
    // It doesn't require instantiation and has only static methods.

    Listener.setPosition(location.x, location.y, location.z);
    Listener.setDirection(direction.x, direction.y, direction.z);
  }

  void display() {
    pushMatrix();

    // Draw a red sphere representing the location of the listener
    PVector l = location.get();
    translate(l.x, l.y, l.z);   
    fill(200, 15, 15);
    sphere(20);
    fill(255);

{'fraction_non_alphanumeric': 0.1085907335907336, 'fraction_numerical': 0.013996138996138996, 'mean_word_length': 3.30977130977131, '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': '2100463', 'n_tokens_mistral': 648, 'n_tokens_neox': 600, 'n_words': 200}