Browse Source

GridHelper example added

jox81 11 years ago
parent
commit
edc9aec606
1 changed files with 12 additions and 0 deletions
  1. 12 0
      docs/api/extras/helpers/GridHelper.html

+ 12 - 0
docs/api/extras/helpers/GridHelper.html

@@ -11,6 +11,18 @@
 
 		<div class="desc">todo</div>
 
+		<h2>Example</h2>
+
+		<code>
+				var size = 10;
+				var step = 1;
+				var gridHelper = new THREE.GridHelper(size, step);
+				
+				gridHelper.position = new THREE.Vector3(10,10,0);
+				gridHelper.rotation = new THREE.Euler(15,0,0);
+				
+				scene.add( gridHelper );
+		</code>
 
 		<h2>Constructor</h2>