We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 771b015 commit 7f28fd4Copy full SHA for 7f28fd4
src/helpers/DirectionalLightHelper.js
@@ -73,7 +73,7 @@ DirectionalLightHelper.prototype.update = function () {
73
v2.setFromMatrixPosition( this.light.target.matrixWorld );
74
v3.subVectors( v2, v1 );
75
76
- this.lightPlane.lookAt( v3 );
+ this.lightPlane.lookAt( v2 );
77
78
if ( this.color !== undefined ) {
79
@@ -87,7 +87,7 @@ DirectionalLightHelper.prototype.update = function () {
87
88
}
89
90
- this.targetLine.lookAt( v3 );
+ this.targetLine.lookAt( v2 );
91
this.targetLine.scale.z = v3.length();
92
93
};
0 commit comments