|
@@ -24,7 +24,7 @@
|
|
|
<code>
|
|
|
var dir = new THREE.Vector3( 1, 2, 0 );
|
|
|
|
|
|
- //normalize the direction vector <div>See the base [page:Object3D] class for common properties.</div>(convert to vector of length 1)
|
|
|
+ //normalize the direction vector (convert to vector of length 1)
|
|
|
dir.normalize();
|
|
|
|
|
|
var origin = new THREE.Vector3( 0, 0, 0 );
|
|
@@ -45,7 +45,7 @@
|
|
|
[page:Vector3 dir] -- direction from origin. Must be a unit vector. <br />
|
|
|
[page:Vector3 origin] -- Point at which the arrow starts.<br />
|
|
|
[page:Number length] -- length of the arrow. Default is *1*.<br />
|
|
|
- [page:Number hex] -- hexadecimal value to define color. Default is 0xffff00 (yellow).<br />
|
|
|
+ [page:Number hex] -- hexadecimal value to define color. Default is 0xffff00.<br />
|
|
|
[page:Number headLength] -- The length of the head of the arrow. Default is 0.2 * length.<br />
|
|
|
[page:Number headWidth] -- The length of the width of the arrow. Default is 0.2 * headLength.
|
|
|
</div>
|