<commit_before>part of orange;




class Orange {

  static const double Epsilon = 0.001;
  static const double CollisionsEpsilon = 0.001;
  static Orange _instance;
  static Orange get instance => _instance;

  GraphicsDevice graphicsDevice;
  Scene _scene;
  num _lastElapsed = 0.0;
  RenderingGroup _renderGroup = new RenderingGroup();
  BoundingBoxRenderer _boundingBoxRenderer;
  BoundingBoxRenderer get boundingBoxRenderer => _boundingBoxRenderer;
  List<RenderTargetTexture> _renderTargets = [];
  List<Callback> afterRenders = [];

  factory Orange(GraphicsDevice graphicsDevice) {
    if (_instance == null) _instance = new Orange._(graphicsDevice);
    return _instance;
  }

  Orange._(this.graphicsDevice) {
    _boundingBoxRenderer = new BoundingBoxRenderer(graphicsDevice);
  }

  enter(Scene scene) {
    if (_scene != null) {
      _scene.exit();
    }
    _scene = scene;
    _scene.engine = this;
    _scene.enter();
  }

  run() => html.window.requestAnimationFrame(_animate);<commit_msg>remove<commit_after>part of orange;




class Orange {

  static const double Epsilon = 0.001;
  static const double CollisionsEpsilon = 0.001;
  static Orange _instance;
  static Orange get instance => _instance;

  GraphicsDevice graphicsDevice;
  Scene _scene;
  num _lastElapsed = 0.0;
  RenderingGroup _renderGroup = new RenderingGroup();
  BoundingBoxRenderer _boundingBoxRenderer;
  List<RenderTargetTexture> _renderTargets = [];
  List<Callback> afterRenders = [];

  factory Orange(GraphicsDevice graphicsDevice) {
    if (_instance == null) _instance = new Orange._(graphicsDevice);
    return _instance;
  }

  Orange._(this.graphicsDevice) {
    _boundingBoxRenderer = new BoundingBoxRenderer(graphicsDevice);
  }

  enter(Scene scene) {
    if (_scene != null) {
      _scene.exit();
    }
    _scene = scene;
    _scene.engine = this;
    _scene.enter();
  }

  run() => html.window.requestAnimationFrame(_animate);
{'fraction_non_alphanumeric': 0.09762396694214875, 'fraction_numerical': 0.010330578512396695, 'mean_word_length': 4.070680628272251, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 12, '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': '7617012', 'n_tokens_mistral': 612, 'n_tokens_neox': 565, 'n_words': 139}