<commit_before>//pango.js

//z is up

var GameObj=function(options){
  this.pos=options.pos||[0,0,0];
  //position             x,y,z
  this.rot=options.rot||[0,0,0];
  //rotation
  this.children=options.children||[];
}

var Entity=function(options){

  this.scl=options.scl||[1,1,1];
  //scale                x,y,z

  this.doesRender=options.doesRender||true;
  this.mesh=options.mesh||undefined;
  this.material=options.material||undefined;
  //all must return true to render

  this.doesCollide=options.doesCollide||true;
  this.collider=options.collider||undefined;
  //leave undefined for no collision
}
inherit(Entity,GameObj);

var PointLight=function(options){
  this.brightness=options.brightness||100;
  this.color=options.color;
  //TODO: find if three.js wants [1,1,1] or '#FFFFFF'

  this.range=options.range||5;
  //i think this is a thing three will want?
}
inherit(PointLight,GameObj);

var SpotLight=function(options){
  this.brightness=options.brightness||100;
  this.color=options.color;
  //TODO: find if three.js wants [1,1,1] or '#FFFFFF'
  this.fov=options.fov||30;
  this.range=options.range||5;
  //i think this is a thing three will want?
}
inherit(SpotLight,GameObj);


var inherit = function (child, parent) {
  //http://www.sitepoint.com/simple-inheritance-javascript/
    child.prototype = Object.create(parent.prototype);
};<commit_msg>renamed somethings so as to not possibly cause incompatibilities with other software used<commit_after>//pango.js
//z is up
var
function mainLoop(){


}

var GameObject=function(options){
  this.pos=options.pos||[0,0,0];
  //position             x,y,z
  this.rot=options.rot||[0,0,0];
  //rotation
  this.tickFunction=options.tickFunction||undefined;
  this.children=options.children||[];
}

var PangoEntity=function(options){

  this.scl=options.scl||[1,1,1];
  //scale                x,y,z

  this.doesRender=options.doesRender||true;
  this.mesh=options.mesh||undefined;
  this.material=options.material||undefined;
  //all must return true to render

  this.doesCollide=options.doesCollide||true;
  this.collider=options.collider||undefined;
  //leave undefined for no collision
}
pangoInherit(PangoEntity,GameObject);

var PointLightObject =function(options){
  this.brightness=options.brightness||100;
  this.color=options.color;
  //TODO: find if three.js wants [1,1,1] or '#FFFFFF'

  this.range=options.range||5;
  //i think this is a thing three will want?
}
pangoInherit(PointLightObject,GameObject);

var pangoInherit = function (child, parent) {
  //http://www.sitepoint.com/simple-inheritance-javascript/
    child.prototype = Object.create(parent.prototype);
};
{'fraction_non_alphanumeric': 0.14799394398183194, 'fraction_numerical': 0.015518546555639667, 'mean_word_length': 4.371951219512195, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '386935', 'n_tokens_mistral': 921, 'n_tokens_neox': 898, 'n_words': 171}