Browse Source

Docs: Minor style improvements.

Mugen87 6 năm trước cách đây
mục cha
commit
749ee962a8

+ 2 - 1
docs/api/en/core/bufferAttributeTypes/BufferAttributeTypes.html

@@ -31,7 +31,8 @@
 
 
 		<h2>Constructor</h2>
 		<h2>Constructor</h2>
 
 
-		All of the above are called in the same way.
+		<p>All of the above are called in the same way.</p>
+
 		<h3>TypedBufferAttribute( [param:Array array], [param:Integer itemSize], [param:Boolean normalized] )</h3>
 		<h3>TypedBufferAttribute( [param:Array array], [param:Integer itemSize], [param:Boolean normalized] )</h3>
 		<p>
 		<p>
 			array -- this can be a typed or untyped (normal) array. It will be converted to the Type specified.<br /><br />
 			array -- this can be a typed or untyped (normal) array. It will be converted to the Type specified.<br /><br />

+ 1 - 2
docs/manual/en/introduction/How-to-create-VR-content.html

@@ -11,7 +11,6 @@
 
 
 <body>
 <body>
 	<h1>[name]</h1>
 	<h1>[name]</h1>
-	<br />
 
 
 	<p>
 	<p>
 		This guide provides a brief overview of the basic components of a web-based VR application
 		This guide provides a brief overview of the basic components of a web-based VR application
@@ -49,7 +48,7 @@ renderer.vr.enabled = true;
 
 
 	<p>
 	<p>
 		Finally, you have to adjust your animation loop since we can't use our well known
 		Finally, you have to adjust your animation loop since we can't use our well known
-		*window.requestAnimationFrame()* function. For VR projects we use [page:WebGLRenderer.setAnimationLoop setAnimationLoop]. 
+		*window.requestAnimationFrame()* function. For VR projects we use [page:WebGLRenderer.setAnimationLoop setAnimationLoop].
 		The minimal code looks like this:
 		The minimal code looks like this:
 	</p>
 	</p>
 
 

+ 0 - 1
docs/manual/en/introduction/How-to-dispose-of-objects.html

@@ -11,7 +11,6 @@
 
 
 <body>
 <body>
 	<h1>[name]</h1>
 	<h1>[name]</h1>
-	<br />
 
 
 	<p>
 	<p>
 		One important aspect in order to improve performance and avoid memory leaks in your application is the disposal of unused library entities.
 		One important aspect in order to improve performance and avoid memory leaks in your application is the disposal of unused library entities.

+ 0 - 1
docs/manual/en/introduction/How-to-use-WebGL2.html

@@ -11,7 +11,6 @@
 
 
 <body>
 <body>
 	<h1>[name]</h1>
 	<h1>[name]</h1>
-	<br />
 
 
 	<p>
 	<p>
 		Starting with three.js R95, the engine supports rendering with a WebGL 2 context. By default three.js always uses a
 		Starting with three.js R95, the engine supports rendering with a WebGL 2 context. By default three.js always uses a

+ 1 - 1
docs/manual/en/introduction/Import-via-modules.html

@@ -8,7 +8,7 @@
 		<link type="text/css" rel="stylesheet" href="page.css" />
 		<link type="text/css" rel="stylesheet" href="page.css" />
 	</head>
 	</head>
 	<body>
 	<body>
-		<h1>[name]</h1><br />
+		<h1>[name]</h1>
 
 
 		<p>
 		<p>
 			While importing three.js via script tags is a great way to get up and running fast, it has a few drawbacks for longer lived projects, for example:
 			While importing three.js via script tags is a great way to get up and running fast, it has a few drawbacks for longer lived projects, for example:

+ 0 - 1
docs/manual/en/introduction/Loading-3D-models.html

@@ -11,7 +11,6 @@
 
 
 <body>
 <body>
 	<h1>[name]</h1>
 	<h1>[name]</h1>
-	<br />
 
 
 	<p>
 	<p>
 		3D models are available in hundreds of file formats, each with different
 		3D models are available in hundreds of file formats, each with different

+ 1 - 1
docs/manual/en/introduction/Migration-guide.html

@@ -8,7 +8,7 @@
 		<link type="text/css" rel="stylesheet" href="page.css" />
 		<link type="text/css" rel="stylesheet" href="page.css" />
 	</head>
 	</head>
 	<body>
 	<body>
-		<h1>[name]</a></h1>
+		<h1>[name]</h1>
 
 
 		<p class="desc">
 		<p class="desc">
 			The migration guide is maintained on the [link:https://github.com/mrdoob/three.js/wiki wiki].
 			The migration guide is maintained on the [link:https://github.com/mrdoob/three.js/wiki wiki].

+ 1 - 1
docs/manual/en/introduction/Useful-links.html

@@ -8,7 +8,7 @@
 		<link type="text/css" rel="stylesheet" href="page.css" />
 		<link type="text/css" rel="stylesheet" href="page.css" />
 	</head>
 	</head>
 	<body>
 	<body>
-		<h1>[name]</h1><br />
+		<h1>[name]</h1>
 
 
 		<p class="desc">
 		<p class="desc">
 			The following is a collection of links that you might find useful when learning three.js.<br />
 			The following is a collection of links that you might find useful when learning three.js.<br />

+ 1 - 1
docs/manual/en/introduction/WebGL-compatibility-check.html

@@ -8,7 +8,7 @@
 		<link type="text/css" rel="stylesheet" href="page.css" />
 		<link type="text/css" rel="stylesheet" href="page.css" />
 	</head>
 	</head>
 	<body>
 	<body>
-		<h1>[name]</h1><br />
+		<h1>[name]</h1>
 		<p>
 		<p>
 			Even though this is becoming less and less of a problem, some devices or browsers may still not support WebGL.
 			Even though this is becoming less and less of a problem, some devices or browsers may still not support WebGL.
 			The following method allows you to check if it is supported and display a message to the user if it is not.
 			The following method allows you to check if it is supported and display a message to the user if it is not.

+ 1 - 1
docs/manual/zh/introduction/Creating-a-scene.html

@@ -8,7 +8,7 @@
 		<link type="text/css" rel="stylesheet" href="page.css" />
 		<link type="text/css" rel="stylesheet" href="page.css" />
 	</head>
 	</head>
 	<body>
 	<body>
-		<h1>创建一个场景([name])</h1><br />
+		<h1>创建一个场景([name])</h1>
 
 
 		<p>这一部分将对three.js来做一个简要的介绍;我们将开始搭建一个场景,其中包含一个正在旋转的立方体。页面下方有一个已经完成的例子,当你遇到麻烦,或者需要帮助的时候,可以看一看。</p>
 		<p>这一部分将对three.js来做一个简要的介绍;我们将开始搭建一个场景,其中包含一个正在旋转的立方体。页面下方有一个已经完成的例子,当你遇到麻烦,或者需要帮助的时候,可以看一看。</p>
 
 

+ 2 - 3
docs/manual/zh/introduction/How-to-create-VR-content.html

@@ -11,7 +11,6 @@
 
 
 <body>
 <body>
 	<h1>如何创建VR内容([name])</h1>
 	<h1>如何创建VR内容([name])</h1>
-	<br />
 
 
 	<p>
 	<p>
 		本指南简要介绍了使用three.js来制作的基于Web的VR应用程序的基本组件。
 		本指南简要介绍了使用three.js来制作的基于Web的VR应用程序的基本组件。
@@ -48,7 +47,7 @@ renderer.vr.enabled = true;
 	<p>
 	<p>
 		最后,你需要调整你的动画循环,因为在这里我们不能使用我们所熟知的
 		最后,你需要调整你的动画循环,因为在这里我们不能使用我们所熟知的
 		*window.requestAnimationFrame()*函数来更新场景。对于VR项目来说,我们使用的是[page:WebGLRenderer.setAnimationLoop setAnimationLoop]。
 		*window.requestAnimationFrame()*函数来更新场景。对于VR项目来说,我们使用的是[page:WebGLRenderer.setAnimationLoop setAnimationLoop]。
-		
+
 		简短的示例代码如下:
 		简短的示例代码如下:
 	</p>
 	</p>
 
 
@@ -81,4 +80,4 @@ renderer.setAnimationLoop( function () {
 
 
 </body>
 </body>
 
 
-</html>
+</html>

+ 0 - 1
docs/manual/zh/introduction/How-to-dispose-of-objects.html

@@ -11,7 +11,6 @@
 
 
 <body>
 <body>
 	<h1>如何废置对象([name])</h1>
 	<h1>如何废置对象([name])</h1>
-	<br />
 
 
 	<p>
 	<p>
 		为了提高性能,并避免应用程序中的内存泄露,一个重要的方面是废置未使用的类库实体。
 		为了提高性能,并避免应用程序中的内存泄露,一个重要的方面是废置未使用的类库实体。

+ 0 - 1
docs/manual/zh/introduction/How-to-use-WebGL2.html

@@ -11,7 +11,6 @@
 
 
 <body>
 <body>
 	<h1>如何使用WebGL 2([name])</h1>
 	<h1>如何使用WebGL 2([name])</h1>
-	<br />
 
 
 	<p>
 	<p>
 		从R95版本起,three.js便开始支持使用WebGL 2环境来进行渲染。默认情况下,当创建一个*WebGLRenderer*实例时,
 		从R95版本起,three.js便开始支持使用WebGL 2环境来进行渲染。默认情况下,当创建一个*WebGLRenderer*实例时,

+ 1 - 1
docs/manual/zh/introduction/Import-via-modules.html

@@ -8,7 +8,7 @@
 		<link type="text/css" rel="stylesheet" href="page.css" />
 		<link type="text/css" rel="stylesheet" href="page.css" />
 	</head>
 	</head>
 	<body>
 	<body>
-		<h1>通过模块来引入([name])</h1><br />
+		<h1>通过模块来引入([name])</h1>
 
 
 		<p>
 		<p>
 			虽然通过script标签来引入three.js是一个能够快速起步、快速运行的方式,但这种方式对于一些具有较长生命周期的项目来说是有一些缺点的。比如说:
 			虽然通过script标签来引入three.js是一个能够快速起步、快速运行的方式,但这种方式对于一些具有较长生命周期的项目来说是有一些缺点的。比如说:

+ 0 - 1
docs/manual/zh/introduction/Loading-3D-models.html

@@ -11,7 +11,6 @@
 
 
 <body>
 <body>
 	<h1>载入3D模型([name])</h1>
 	<h1>载入3D模型([name])</h1>
-	<br />
 
 
 	<p>
 	<p>
 	目前,3D模型的格式有成千上万种可供选择,但每一种格式都具有不同的目的、用途以及复杂性。
 	目前,3D模型的格式有成千上万种可供选择,但每一种格式都具有不同的目的、用途以及复杂性。

+ 1 - 1
docs/manual/zh/introduction/Useful-links.html

@@ -8,7 +8,7 @@
 		<link type="text/css" rel="stylesheet" href="page.css" />
 		<link type="text/css" rel="stylesheet" href="page.css" />
 	</head>
 	</head>
 	<body>
 	<body>
-		<h1>一些有用的链接([name])</h1><br />
+		<h1>一些有用的链接([name])</h1>
 
 
 		<p class="desc">
 		<p class="desc">
 			下面是一些你在学习three.js过程中或许对你有很大帮助的链接。<br />
 			下面是一些你在学习three.js过程中或许对你有很大帮助的链接。<br />

+ 1 - 1
docs/manual/zh/introduction/WebGL-compatibility-check.html

@@ -8,7 +8,7 @@
 		<link type="text/css" rel="stylesheet" href="page.css" />
 		<link type="text/css" rel="stylesheet" href="page.css" />
 	</head>
 	</head>
 	<body>
 	<body>
-		<h1>WebGL兼容性检查([name])</h1><br />
+		<h1>WebGL兼容性检查([name])</h1>
 		<p>
 		<p>
             虽然这个问题现在已经变得越来不明显,但不可否定的是,某些设备以及浏览器直到现在仍然不支持WebGL。<br>以下的方法可以帮助你检测当前用户所使用的环境是否支持WebGL,如果不支持,将会向用户提示一条信息。
             虽然这个问题现在已经变得越来不明显,但不可否定的是,某些设备以及浏览器直到现在仍然不支持WebGL。<br>以下的方法可以帮助你检测当前用户所使用的环境是否支持WebGL,如果不支持,将会向用户提示一条信息。
 		</p>
 		</p>