<commit_before>/**
 * @author sroucheray / http://sroucheray.org/
 * @author mrdoob / http://mrdoob.com/
 */

THREE.AxisHelper = function ( size ) {

	size = size || 1;

	var geometry = new THREE.BufferGeometry();

	geometry.addAttribute( 'position', new THREE.Float32Attribute( 6, 3 ) );
	geometry.addAttribute( 'color', new THREE.Float32Attribute( 6, 3 ) );

	var positions = geometry.attributes.position.array;
	var colors = geometry.attributes.color.array;

	positions[3] = positions[10] = positions[17] = size;
	colors[0] = colors[3] = colors[7] = colors[10] = colors[14] = colors[17] = 1;
	colors[4] = colors[9] = colors[16] = 2 / 3;

	var material = new THREE.LineBasicMaterial( { vertexColors: THREE.VertexColors } );

	THREE.Line.call( this, geometry, material, THREE.LinePieces );

};

THREE.AxisHelper.prototype = Object.create( THREE.Line.prototype );
<commit_msg>Fixed AxisHelper.<commit_after>/**
 * @author sroucheray / http://sroucheray.org/
 * @author mrdoob / http://mrdoob.com/
 */

THREE.AxisHelper = function ( size ) {

	size = size || 1;

	var geometry = new THREE.BufferGeometry();

	geometry.addAttribute( 'position', new THREE.Float32Attribute( 6 * 3, 3 ) );
	geometry.addAttribute( 'color', new THREE.Float32Attribute( 6 * 3, 3 ) );

	var positions = geometry.attributes.position.array;
	var colors = geometry.attributes.color.array;

	positions[3] = positions[10] = positions[17] = size;
	colors[0] = colors[3] = colors[7] = colors[10] = colors[14] = colors[17] = 1;
	colors[4] = colors[9] = colors[16] = 2 / 3;

	var material = new THREE.LineBasicMaterial( { vertexColors: THREE.VertexColors } );

	THREE.Line.call( this, geometry, material, THREE.LinePieces );

};

THREE.AxisHelper.prototype = Object.create( THREE.Line.prototype );

{'fraction_non_alphanumeric': 0.159297052154195, 'fraction_numerical': 0.035147392290249435, 'mean_word_length': 4.3003003003003, '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': '5374110', 'n_tokens_mistral': 652, 'n_tokens_neox': 591, 'n_words': 133}