Scott Garner 9 лет назад
Родитель
Сommit
a9c64beaf3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      examples/js/effects/VREffect.js

+ 1 - 1
examples/js/effects/VREffect.js

@@ -68,7 +68,7 @@ THREE.VREffect = function ( renderer, onError ) {
 
 	this.setSize = function ( width, height ) {
 
-		renderSize = { width: width, height: height };
+		rendererSize = { width: width, height: height };
 
 		if ( isPresenting ) {