* added types for helpers that were missing them * added types for helpers that were missing them * typo fix for spotlight helper type
@@ -23,6 +23,8 @@ class DirectionalLightHelper extends Object3D {
this.color = color;
+ this.type = 'DirectionalLightHelper';
+
if ( size === undefined ) size = 1;
let geometry = new BufferGeometry();
@@ -24,6 +24,8 @@ class HemisphereLightHelper extends Object3D {
+ this.type = 'HemisphereLightHelper';
const geometry = new OctahedronGeometry( size );
geometry.rotateY( Math.PI * 0.5 );
@@ -21,6 +21,8 @@ class SpotLightHelper extends Object3D {
+ this.type = 'SpotLightHelper';
const geometry = new BufferGeometry();
const positions = [