<commit_before>import THREE from 'three'

let GizmoMaterial = function ( parameters ) {
		THREE.MeshBasicMaterial.call( this )
		//this.depthTest = false
		//this.depthWrite = false
		this.side = THREE.DoubleSide
		//this.transparent = true
		//this.opacity = 0.8
		this.setValues( parameters )
		
		this.highlightColor = parameters.highlightColor !== undefined ? options.parameters : 0xFFFF00

		this.oldColor = this.color.clone()
		//this.oldOpacity = this.opacity

		this.highlight = function( highlighted ) {

			if ( highlighted ) {

				this.color.set( this.highlightColor )//.setRGB( 1, 1, 0 )
				//this.opacity = 1

			} else {

					this.color.copy( this.oldColor )
					//this.opacity = this.oldOpacity

			}

		}
}

GizmoMaterial.prototype = Object.create( THREE.MeshBasicMaterial.prototype )

let GizmoLineMaterial = function ( parameters ) {
		THREE.LineBasicMaterial.call( this )
		//this.depthTest = false
		//this.depthWrite = false
		//this.side = THREE.DoubleSide
		//this.transparent = true
		//this.opacity = 0.8
		this.setValues( parameters )
		
		this.highlightColor = parameters.highlightColor !== undefined ? options.parameters : "#ffd200"
		this.linewidth = parameters.lineWidth || 1;
		this.oldColor = this.color.clone()
		//this.oldOpacity = this.opacity

		this.highlight = function( highlighted ) {

			if ( highlighted ) {

				this.color.set( this.highlightColor )//.setRGB( 1, 1, 0 )
				//this.opacity = 1

			} else {

					this.color.copy( this.oldColor )
					//this.opacity = this.oldOpacity
			}
		}
}

GizmoLineMaterial.prototype = Object.create( THREE.LineBasicMaterial.prototype )

export {GizmoMaterial,GizmoLineMaterial}<commit_msg>- cleaned up GizmoMaterials, minor lineWidth related tweaks<commit_after>import THREE from 'three'

let GizmoMaterial = function ( parameters ) {
		THREE.MeshBasicMaterial.call( this )
		this.side = THREE.DoubleSide
		this.setValues( parameters )
		
		this.highlightColor = parameters.highlightColor !== undefined ? options.parameters : 0xFFFF00
		this.oldColor = this.color.clone()
		//this.oldOpacity = this.opacity

		this.highlight = function( highlighted ) {

			if ( highlighted ) {

				this.color.set( this.highlightColor )

			} else {

					this.color.copy( this.oldColor )
			}

		}
}

GizmoMaterial.prototype = Object.create( THREE.MeshBasicMaterial.prototype )

let GizmoLineMaterial = function ( parameters ) {
		THREE.LineBasicMaterial.call( this )
		this.setValues( parameters )
		
		this.highlightColor = parameters.highlightColor !== undefined ? options.parameters : "#ffd200"
		this.linewidth = parameters.lineWidth || parameters.linewidth || 1

		this.oldColor = this.color.clone()

		this.highlight = function( highlighted ) {

			if ( highlighted ) {

				this.color.set( this.highlightColor )

			} else {

					this.color.copy( this.oldColor )
			}
		}
}

GizmoLineMaterial.prototype = Object.create( THREE.LineBasicMaterial.prototype )

export {GizmoMaterial,GizmoLineMaterial}
{'fraction_non_alphanumeric': 0.11887172599059771, 'fraction_numerical': 0.008730691739422432, 'mean_word_length': 3.400295420974889, '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': '1737433', 'n_tokens_mistral': 1091, 'n_tokens_neox': 899, 'n_words': 181}