Files
three.js/src/materials/ParticleCircleMaterial.js
T

16 lines
315 B
JavaScript

/**
* @author mr.doob / http://mrdoob.com/
*/
THREE.ParticleCircleMaterial = function ( hex, opacity ) {
this.color = new THREE.Color( ( opacity !== undefined ? opacity : 1 ) * 0xff << 24 ^ hex );
this.toString = function () {
return 'THREE.ParticleCircleMaterial ( color: ' + this.color + ' )';
};
};