mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-11 14:06:02 +10:00
+ Workaround for WebKit not supporting rgba() in SVG yet + Aesthetic changes on the readme file
14 lines
251 B
JavaScript
14 lines
251 B
JavaScript
/**
|
|
* @author mr.doob / http://mrdoob.com/
|
|
*/
|
|
|
|
THREE.Particle = function (material) {
|
|
|
|
THREE.Object3D.call(this, material);
|
|
|
|
this.size = 1;
|
|
}
|
|
|
|
THREE.Particle.prototype = new THREE.Object3D();
|
|
THREE.Particle.prototype.constructor = THREE.Particle;
|