Răsfoiți Sursa

changed new 'divs' to more-readable 'divisions'

Nathaniel Mitchell 8 ani în urmă
părinte
comite
b239ead534
1 a modificat fișierele cu 5 adăugiri și 5 ștergeri
  1. 5 5
      docs/api/extras/helpers/GridHelper.html

+ 5 - 5
docs/api/extras/helpers/GridHelper.html

@@ -18,9 +18,9 @@
 		<h2>Example</h2>
 
 		<code>var size = 10;
-		var divs = 1;
+		var divisions = 10;
 
-		var gridHelper = new THREE.GridHelper( size, divs );
+		var gridHelper = new THREE.GridHelper( size, divisions );
 		scene.add( gridHelper );
 		</code>
 		[example:webgl_helpers Example using various helpers]
@@ -28,15 +28,15 @@
 
 		<h2>Constructor</h2>
 
-		<h3>[name]( [page:number size], [page:Number divs], [page:Color colorCenterLine], [page:Color colorGrid] )</h3>
+		<h3>[name]( [page:number size], [page:Number divisions], [page:Color colorCenterLine], [page:Color colorGrid] )</h3>
 		<div>
 		size -- The size of the grid <br />
-		divs -- The number of divisions across the grid <br />
+		divisions -- The number of divisions across the grid <br />
 		colorCenterLine -- The color of the centerline. This can be a [page:Color], a hexadecimal value and an CSS-Color name. Default is 0x444444 <br />
 		colorGrid -- The color of the lines of the grid. This can be a [page:Color], a hexadecimal value and an CSS-Color name. Default is 0x888888
 		</div>
 		<div>
-		Creates a new [name] of size 'size' and divided into 'divs' segments per side. Colors are optional.
+		Creates a new [name] of size 'size' and divided into 'divisions' segments per side. Colors are optional.
 		</div>
 
 		<h2>Source</h2>