浏览代码

zh doc: translate geometries in example folder.

gogoend 5 年之前
父节点
当前提交
fc2a935d03

+ 7 - 7
docs/examples/zh/geometries/ConvexBufferGeometry.html

@@ -11,10 +11,10 @@
 	<body>
 	<body>
 		[page:BufferGeometry] &rarr;
 		[page:BufferGeometry] &rarr;
 
 
-		<h1>[name]</h1>
+		<h1>凸包缓冲几何体([name]</h1>
 
 
-		<p class="desc">[name] can be used to generate a convex hull for a given array of 3D points.
-			The average time complexity for this task is considered to be O(nlog(n)).</p>
+		<p class="desc">[name] 可被用于为传入的一组点生成凸包。
+				该任务的平均时间复杂度被认为是O(nlog(n))。</p>
 
 
 		<script>
 		<script>
 
 
@@ -32,7 +32,7 @@
 
 
 		</script>
 		</script>
 
 
-		<h2>Example</h2>
+		<h2>示例</h2>
 
 
 		<p>[example:webgl_geometry_convex geometry / convex ]</p>
 		<p>[example:webgl_geometry_convex geometry / convex ]</p>
 
 
@@ -42,15 +42,15 @@
 		scene.add( mesh );
 		scene.add( mesh );
 		</code>
 		</code>
 
 
-		<h2>Constructor</h2>
+		<h2>构造函数</h2>
 
 
 		<h3>[name]( [param:Array points] )</h3>
 		<h3>[name]( [param:Array points] )</h3>
 		<p>
 		<p>
-		points — Array of [page:Vector3 Vector3s] that the resulting convex hull will contain.
+		points — 所得凸包中将包含的一组[page:Vector3 Vector3]。
 		</p>
 		</p>
 
 
 
 
-		<h2>Source</h2>
+		<h2>源代码</h2>
 
 
 		<p>
 		<p>
 			[link:https://github.com/mrdoob/three.js/blob/master/examples/js/geometries/ConvexGeometry.js examples/js/geometries/ConvexGeometry.js]
 			[link:https://github.com/mrdoob/three.js/blob/master/examples/js/geometries/ConvexGeometry.js examples/js/geometries/ConvexGeometry.js]

+ 7 - 7
docs/examples/zh/geometries/ConvexGeometry.html

@@ -10,10 +10,10 @@
 	<body>
 	<body>
 		[page:Geometry] &rarr;
 		[page:Geometry] &rarr;
 
 
-		<h1>[name]</h1>
+		<h1>凸包几何体([name]</h1>
 
 
-		<p class="desc">[name] can be used to generate a convex hull for a given array of 3D points.
-			The average time complexity for this task is considered to be O(nlog(n)).</p>
+		<p class="desc">[name] 可被用于为传入的一组点生成凸包。
+			该任务的平均时间复杂度被认为是O(nlog(n))。</p>
 
 
 		<script>
 		<script>
 
 
@@ -31,7 +31,7 @@
 
 
 		</script>
 		</script>
 
 
-		<h2>Example</h2>
+		<h2>示例</h2>
 
 
 		<p>[example:webgl_geometry_convex geometry / convex ]</p>
 		<p>[example:webgl_geometry_convex geometry / convex ]</p>
 
 
@@ -41,15 +41,15 @@
 		scene.add( mesh );
 		scene.add( mesh );
 		</code>
 		</code>
 
 
-		<h2>Constructor</h2>
+		<h2>构造函数</h2>
 
 
 		<h3>[name]( [param:Array points] )</h3>
 		<h3>[name]( [param:Array points] )</h3>
 		<p>
 		<p>
-		points — Array of [page:Vector3 Vector3s] that the resulting convex hull will contain.
+		points — 所得凸包中将包含的一组[page:Vector3 Vector3]。
 		</p>
 		</p>
 
 
 
 
-		<h2>Source</h2>
+		<h2>源代码</h2>
 
 
 		<p>
 		<p>
 			[link:https://github.com/mrdoob/three.js/blob/master/examples/js/geometries/ConvexGeometry.js examples/js/geometries/ConvexGeometry.js]
 			[link:https://github.com/mrdoob/three.js/blob/master/examples/js/geometries/ConvexGeometry.js examples/js/geometries/ConvexGeometry.js]

+ 9 - 9
docs/examples/zh/geometries/DecalGeometry.html

@@ -10,9 +10,9 @@
 	<body>
 	<body>
 		[page:BufferGeometry] &rarr;
 		[page:BufferGeometry] &rarr;
 
 
-		<h1>[name]</h1>
+		<h1>贴花几何体([name]</h1>
 
 
-		<p class="desc">[name] can be used to create a decal mesh that serves different kinds of purposes e.g. adding unique details to models, performing dynamic visual environmental changes or covering seams.</p>
+		<p class="desc">[name] 可被用于创建贴花网格物体,以达到不同的目的,例如:为模型增加独特的细节、进行动态的视觉环境改变或覆盖接缝。</p>
 
 
 		<script>
 		<script>
 
 
@@ -30,7 +30,7 @@
 
 
 		</script>
 		</script>
 
 
-		<h2>Example</h2>
+		<h2>示例</h2>
 
 
 		<p>[example:webgl_decals decals ]</p>
 		<p>[example:webgl_decals decals ]</p>
 
 
@@ -40,17 +40,17 @@
 		scene.add( mesh );
 		scene.add( mesh );
 		</code>
 		</code>
 
 
-		<h2>Constructor</h2>
+		<h2>构造函数</h2>
 
 
 		<h3>[name]( [param:Mesh mesh], [param:Vector3 position], [param:Euler orientation], [param:Vector3 size] )</h3>
 		<h3>[name]( [param:Mesh mesh], [param:Vector3 position], [param:Euler orientation], [param:Vector3 size] )</h3>
 		<p>
 		<p>
-		mesh — Any mesh object.<br />
-		position — Position of the decal projector.<br />
-		orientation — Orientation of the decal projector.<br />
-		size — Size of the decal projector.
+		mesh — 一个网格对象。<br />
+		position — 贴花投影器的位置。<br />
+		orientation — 贴花投影器的朝向。<br />
+		size — 贴画投影器的尺寸。
 		</p>
 		</p>
 
 
-		<h2>Source</h2>
+		<h2>源代码</h2>
 
 
 		<p>
 		<p>
 			[link:https://github.com/mrdoob/three.js/blob/master/examples/js/geometries/DecalGeometry.js examples/js/geometries/DecalGeometry.js]
 			[link:https://github.com/mrdoob/three.js/blob/master/examples/js/geometries/DecalGeometry.js examples/js/geometries/DecalGeometry.js]