2
0
Эх сурвалжийг харах

PlaneHelper: Update matrixWorld before rendering.

Mr.doob 8 жил өмнө
parent
commit
d68c3f5151

+ 2 - 0
src/helpers/PlaneHelper.js

@@ -57,6 +57,8 @@ PlaneHelper.prototype.onBeforeRender = function () {
 
 	this.lookAt( this.plane.normal );
 
+	this.updateMatrixWorld( true );
+
 };
 
 export { PlaneHelper };