浏览代码

Added examples to AxisHelper doc

looeee 8 年之前
父节点
当前提交
3a4cd28e5b
共有 1 个文件被更改,包括 22 次插入9 次删除
  1. 22 9
      docs/api/extras/helpers/AxisHelper.html

+ 22 - 9
docs/api/extras/helpers/AxisHelper.html

@@ -8,7 +8,7 @@
 		<link type="text/css" rel="stylesheet" href="page.css" />
 	</head>
 	<body>
-		[page:Line] &rarr;
+		[page:LineSegments] &rarr;
 
 		<h1>[name]</h1>
 
@@ -18,21 +18,34 @@
 
 		<h2>Example</h2>
 
-                <code>var axisHelper = new THREE.AxisHelper( 5 );
-		scene.add( axisHelper );
-                </code>
+		<div>[example:webgl_geometries WebGL / geometries]</div>
+		<div>[example:webgl_geometries2 WebGL / geometries2]</div>
+		<div>[example:webgl_geometry_convex WebGL / geometry / convex]</div>
+		<div>[example:webgl_geometry_spline_editor WebGL / geometry / spline / editor]</div>
+
+
+
+		<code>
+var axisHelper = new THREE.AxisHelper( 5 );
+scene.add( axisHelper );
+    </code>
 
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:Number size])</h3>
-		<div>
-		size -- Define the size of the line representing the axes.
-		</div>
+		<h3>[name]( [page:Number size] )</h3>
 		<div>
-		Creates an axisHelper with lines of length size.
+		[page:Number size] -- Define the size of the lines representing the axes.<br /><br />
+
+		Creates an axisHelper with lines of length [page:Number size].
 		</div>
 
+		<h2>Properties</h2>
+		<div>See the base [page:LineSegments] class for common properties.</div>
+
+		<h2>Methods</h2>
+		<div>See the base [page:LineSegments] class for common methods.</div>
+
 		<h2>Source</h2>
 
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]