|
@@ -20,7 +20,7 @@
|
|
|
<code>var radius = 10;
|
|
|
var radials = 16;
|
|
|
var circles = 8;
|
|
|
- var divisions = 50;
|
|
|
+ var divisions = 64;
|
|
|
|
|
|
var helper = new THREE.PolarGridHelper( radius, radials, circles, divisions );
|
|
|
scene.add( helper );
|
|
@@ -32,10 +32,10 @@
|
|
|
|
|
|
<h3>[name]( [page:Number radius], [page:Number radials], [page:Number circles], [page:Number divisions], [page:Color color1], [page:Color color2] )</h3>
|
|
|
<div>
|
|
|
- radius -- The radius of the polar grid. This can be any positive number. <br />
|
|
|
- radials -- The number of radial lines. This can be any positive integer. <br />
|
|
|
- circles -- The number of circles. This can be any positive integer. <br />
|
|
|
- divisions -- The number of line segments used for each circle. This can be any positive integer that is 3 or greater. <br />
|
|
|
+ radius -- The radius of the polar grid. This can be any positive number. Default is 10.<br />
|
|
|
+ radials -- The number of radial lines. This can be any positive integer. Default is 16.<br />
|
|
|
+ circles -- The number of circles. This can be any positive integer. Default is 8.<br />
|
|
|
+ divisions -- The number of line segments used for each circle. This can be any positive integer that is 3 or greater. Default is 64.<br />
|
|
|
color1 -- The first color used for grid elements. This can be a [page:Color], a hexadecimal value and an CSS-Color name. Default is 0x444444 <br />
|
|
|
color2 -- The second color used for grid elements. This can be a [page:Color], a hexadecimal value and an CSS-Color name. Default is 0x888888
|
|
|
</div>
|