Browse Source

Fix GridHelper API change (#8812)

WestLangley 9 years ago
parent
commit
8fe367d922
1 changed files with 1 additions and 3 deletions
  1. 1 3
      examples/misc_sound.html

+ 1 - 3
examples/misc_sound.html

@@ -156,9 +156,7 @@
 
 				// ground
 
-				var helper = new THREE.GridHelper( 500, 10 );
-				helper.color1.setHex( 0x444444 );
-				helper.color2.setHex( 0x444444 );
+				var helper = new THREE.GridHelper( 500, 10, 0x444444, 0x444444 );
 				helper.position.y = 0.1;
 				scene.add( helper );