<commit_before>// ----------------------------------------------------------------------------
// File: Layer.js
//
// Copyright (c) 2013 VoodooJs Authors
// ----------------------------------------------------------------------------


/**
 * Enumeration for the different types of layer passes.
 *
 * @private
 * @enum {number}
 */
var LayerPass_ = {
  'Above': 0,
  'Below': 1,
  'Stencil': 2
};



/**
 * 3D layer description and content.
 *
 * A layer is essentially a render pass on a scene. Voodoo's engine
 * may create multiple layers, and each model view is instantiated on
 * each layer when the model is created. Users developing models should
 * use the layer to access the scene when they load their 3D content.
 *
 * @constructor
 * @private
 *
 * @param {LayerPass_} pass Type of graphics engine pass.
 * @param {Renderer} renderer The 3d graphics engine.
 * @param {Camera} camera This layer's virtual camera.
 * @param {Scene} scene 3D scene graph.
 * @param {Triggers} triggers 3D objects that trigger mouse events.
 */
function Layer_(pass, renderer, camera, scene, triggers) {
  log_.assert_(renderer == Renderer['ThreeJs'],
      'Only ThreeJs is supported');

  this.pass = pass;<commit_msg>Fix a couple comments in Layer.js<commit_after>// ----------------------------------------------------------------------------
// File: Layer.js
//
// Copyright (c) 2013 VoodooJs Authors
// ----------------------------------------------------------------------------


/**
 * Enumeration for the different types of rendering passes called layers.
 *
 * @private
 * @enum {number}
 */
var LayerPass_ = {
  'Above': 0,
  'Below': 1,
  'Stencil': 2
};



/**
 * A layer is essentially a render pass on a scene. Voodoo's engine
 * may create multiple layers, and each view is instantiated on
 * each layer when the model is created.
 *
 * @constructor
 * @private
 *
 * @param {LayerPass_} pass Type of graphics engine pass.
 * @param {Renderer} renderer The 3d graphics engine.
 * @param {Camera} camera This layer's virtual camera.
 * @param {Scene} scene 3D scene graph.
 * @param {Triggers} triggers 3D objects that trigger mouse events.
 */
function Layer_(pass, renderer, camera, scene, triggers) {
  log_.assert_(renderer == Renderer['ThreeJs'],
      'Only ThreeJs is supported');

  this.pass = pass;
{'fraction_non_alphanumeric': 0.23113410952996982, 'fraction_numerical': 0.009486847779215178, 'mean_word_length': 2.076923076923077, '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': '3544191', 'n_tokens_mistral': 646, 'n_tokens_neox': 595, 'n_words': 247}