Explorar el Código

PlaneHelper: Update matrixWorld before rendering.

Mr.doob hace 8 años
padre
commit
d68c3f5151
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/helpers/PlaneHelper.js

+ 2 - 0
src/helpers/PlaneHelper.js

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