1 /**
2 * @author mrdoob / http://mrdoob.com/
3 */
4
5 /**@constructor*/
6 THREE.Line = function ( geometry, material, type ) {
7
8 THREE.Object3D.call( this );
9
10 this.geometry = geometry;
11 this.material = ( material !== undefined ) ? material : new THREE.LineBasicMaterial( { color: Math.random() * 0xffffff } );
12 this.type = ( type !== undefined ) ? type : THREE.LineStrip;
13
14 if ( this.geometry ) {
15
16 if ( ! this.geometry.boundingSphere ) {
17
18 this.geometry.computeBoundingSphere();
19
20 }
21
22 }
23
24 };
25
26 /**@fieldOf THREE
27 @field
28 @name LineStrip*/
29 THREE.LineStrip = 0;
30 /**@fieldOf THREE
31 @field
32 @name LinePieces*/
33 THREE.LinePieces = 1;
34
35 THREE.Line.prototype = Object.create( THREE.Object3D.prototype );
36
37 THREE.Line.prototype.clone = function ( object ) {
38
39 if ( object === undefined ) object = new THREE.Line( this.geometry, this.material, this.type );
40
41 THREE.Object3D.prototype.clone.call( this, object );
42
43 return object;
44
45 };
46
nike free rn
new balance hombre baratas
cinturones gucci
ugg rebajas
cinturon gucci
ray ban baratas
nike cortez
peuterey mujer
christian louboutin madrid
mbt zapatos
gafas ray ban baratas
mbt ofertas
air max blancas
mbt barcelona
nike air max 90
woolrich barcelona
nike mujer
botas ugg
gafas de sol carrera aratas
air max 2016 baratas
oakley baratas
nike air max 2016