Explorar o código

Update CSS2DRenderer.js

Syntax improved per request
donutcoffee %!s(int64=5) %!d(string=hai) anos
pai
achega
87955e087e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/js/renderers/CSS2DRenderer.js

+ 1 - 1
examples/js/renderers/CSS2DRenderer.js

@@ -162,7 +162,7 @@ THREE.CSS2DRenderer = function () {
 
 	this.render = function ( scene, camera ) {
 		
-		if (scene.autoUpdate === true) { scene.updateMatrixWorld(); }
+		if ( scene.autoUpdate === true ) { scene.updateMatrixWorld(); }
 
 		if ( camera.parent === null ) camera.updateMatrixWorld();