<commit_before>/*
options {
	id: exactly what it sounds like
	width: 
	height:
}
*/
quack.renderers.GLRenderer = function(canvas, options) {
	//constructor
	this.canvas = canvas;
	this.id = options.id || "default";
	this.width = options.width || 0;
	this.height = options.height || 0;
	
	
	//init the context
	this.contextOptions = {
		alpha: options.alpha || false,
		antialias: options.antialias || false,
		stencil: options.stencil || false,
		depth: options.depth || false
	};
	
	this.gl = canvas.getContext("webgl", this.contextOptions);
	
}; <commit_msg>A couple of additions<commit_after>/*
options {
	id: exactly what it sounds like
	width: 
	height:
}
*/
quack.renderers.GLRenderer = function(canvas, options) {
	//constructor
	this.canvas = canvas;
	this.id = options.id || "default";
	this.width = options.width || 0;
	this.height = options.height || 0;
	this.clearColor = options.clearColor || new quack.math.Vector4(0.0, 0.0, 0.0, 0.0);
	
	
	//init the context
	this.contextOptions = {
		alpha: options.alpha || false,
		antialias: options.antialias || false,
		stencil: options.stencil || false,
		depth: options.depth || false
	};
	
	this.gl = canvas.getContext("webgl", this.contextOptions);
	gl.clearColor(this.clearColor.x, this.clearColor.y, this.clearColor.z, this.clearAlpha);
	
	this.setClearColor = function(color) {
		gl.clearColor(color.x, color.y, color.z, color.w);
	};
}; 
{'fraction_non_alphanumeric': 0.15214285714285714, 'fraction_numerical': 0.009285714285714286, 'mean_word_length': 3.8645833333333335, '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': '6700300', 'n_tokens_mistral': 511, 'n_tokens_neox': 480, 'n_words': 108}