Skip to content

Commit 1ea6198

Browse files
committed
BufferGeometry.toCreasedNormals() documentation: use more common HTML formatting & remove redundant info
1 parent b799d3d commit 1ea6198

File tree

2 files changed

+24
-21
lines changed

2 files changed

+24
-21
lines changed

docs/examples/en/utils/BufferGeometryUtils.html

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,21 +122,23 @@ <h3>[method:BufferGeometry mergeVertices]( [param:BufferGeometry geometry], [par
122122
</p>
123123

124124
<h3>[method:BufferGeometry toCreasedNormals]( [param:BufferGeometry geometry], [param:Number creaseAngle] )</h3>
125-
<p>
126-
geometry -- The input geometry. <br />
127-
creaseAngle -- The crease angle. <br /><br />
125+
<ul>
126+
<li>geometry -- The input geometry.</li>
127+
<li>creaseAngle -- The crease angle.</li>
128+
</ul>
128129

130+
<p>
129131
Modifies the supplied geometry if it is non-indexed, otherwise creates a new,
130-
non-indexed geometry.<br /><br />
132+
non-indexed geometry.
133+
</p>
131134

135+
<p>
132136
Returns the geometry with smooth normals everywhere except faces
133-
that meet at an angle greater than the crease angle.<br /><br />
134-
135-
Backwards compatible with code that uses this method to operate on the original geometry.<br /><br />
137+
that meet at an angle greater than the crease angle.
138+
</p>
136139

137-
[page:BufferGeometry.toNonIndexed]() warns if the geometry is non-indexed and
138-
returns <code>this</code>, i.e. the same geometry on which it was called:<br /><br />
139-
<code>BufferGeometry is already non-indexed.</code>
140+
<p>
141+
Backwards compatible with code that uses this method to operate on the original geometry.
140142
</p>
141143

142144
<h3>[method:BufferGeometry toTrianglesDrawMode]( [param:BufferGeometry geometry], [param:TrianglesDrawMode drawMode] )</h3>

docs/examples/zh/utils/BufferGeometryUtils.html

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,22 +120,23 @@ <h3>[method:BufferGeometry mergeVertices]( [param:BufferGeometry geometry], [par
120120
</p>
121121

122122
<h3>[method:BufferGeometry toCreasedNormals]( [param:BufferGeometry geometry], [param:Number creaseAngle] )</h3>
123-
<p>
124-
geometry -- The input geometry. <br />
125-
creaseAngle -- The crease angle.
126-
</p>
123+
<ul>
124+
<li>geometry -- The input geometry.</li>
125+
<li>creaseAngle -- The crease angle.</li>
126+
</ul>
127+
127128
<p>
128129
Modifies the supplied geometry if it is non-indexed, otherwise creates a new,
129-
non-indexed geometry.<br /><br />
130+
non-indexed geometry.
131+
</p>
130132

133+
<p>
131134
Returns the geometry with smooth normals everywhere except faces
132-
that meet at an angle greater than the crease angle.<br /><br />
133-
134-
Backwards compatible with code that uses this method to operate on the original geometry.<br /><br />
135+
that meet at an angle greater than the crease angle.
136+
</p>
135137

136-
[page:BufferGeometry.toNonIndexed]() warns if the geometry is non-indexed and
137-
returns <code>this</code>, i.e. the same geometry on which it was called:<br /><br />
138-
<code>BufferGeometry is already non-indexed.</code>
138+
<p>
139+
Backwards compatible with code that uses this method to operate on the original geometry.
139140
</p>
140141

141142
<h3>[method:BufferGeometry toTrianglesDrawMode]( [param:BufferGeometry geometry], [param:TrianglesDrawMode drawMode] )</h3>

0 commit comments

Comments
 (0)