|
@@ -11,7 +11,7 @@ THREE.SpotLightHelper = function ( light ) {
|
|
|
this.light = light;
|
|
|
this.light.updateMatrixWorld();
|
|
|
|
|
|
- this.matrixWorld = light.matrixWorld;
|
|
|
+ this.matrix = light.matrixWorld;
|
|
|
this.matrixAutoUpdate = false;
|
|
|
|
|
|
var geometry = new THREE.CylinderGeometry( 0, 1, 1, 8, 1, true );
|
|
@@ -20,7 +20,7 @@ THREE.SpotLightHelper = function ( light ) {
|
|
|
geometry.applyMatrix( new THREE.Matrix4().makeRotationX( - Math.PI / 2 ) );
|
|
|
|
|
|
var material = new THREE.MeshBasicMaterial( { wireframe: true, fog: false } );
|
|
|
-
|
|
|
+
|
|
|
this.cone = new THREE.Mesh( geometry, material );
|
|
|
this.add( this.cone );
|
|
|
|