Skip to content

Commit 681ba71

Browse files
authored
Merge pull request #19664 from ycw/patch-1
Update Box3.html
2 parents 8145643 + 52a174e commit 681ba71

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

docs/api/en/math/Box3.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h3>[property:Vector3 max]</h3>
6666

6767
<h2>Methods</h2>
6868

69-
<h3>[method:Box3 applyMatrix4]( [param:Matrix4 matrix] )</h3>
69+
<h3>[method:this applyMatrix4]( [param:Matrix4 matrix] )</h3>
7070
<p>
7171
[page:Matrix4 matrix] - The [page:Matrix4] to apply<br /><br />
7272

@@ -99,7 +99,7 @@ <h3>[method:Boolean containsPoint]( [param:Vector3 point] )</h3>
9999
Returns true if the specified [page:Vector3 point] lies within or on the boundaries of this box.
100100
</p>
101101

102-
<h3>[method:Box3 copy]( [param:Box3 box] )</h3>
102+
<h3>[method:this copy]( [param:Box3 box] )</h3>
103103
<p>
104104
[page:Box3 box] - [page:Box3] to copy.<br /><br />
105105

@@ -122,7 +122,7 @@ <h3>[method:Boolean equals]( [param:Box3 box] )</h3>
122122
Returns true if this box and [page:Box3 box] share the same lower and upper bounds.
123123
</p>
124124

125-
<h3>[method:Box3 expandByObject]( [param:Object3D object] )</h3>
125+
<h3>[method:this expandByObject]( [param:Object3D object] )</h3>
126126
<p>
127127
[page:Object3D object] - [page:Object3D] to expand the box by.<br /><br />
128128

@@ -132,22 +132,22 @@ <h3>[method:Box3 expandByObject]( [param:Object3D object] )</h3>
132132

133133
</p>
134134

135-
<h3>[method:Box3 expandByPoint]( [param:Vector3 point] )</h3>
135+
<h3>[method:this expandByPoint]( [param:Vector3 point] )</h3>
136136
<p>
137137
[page:Vector3 point] - [page:Vector3] that should be included in the box.<br /><br />
138138

139139
Expands the boundaries of this box to include [page:Vector3 point].
140140
</p>
141141

142-
<h3>[method:Box3 expandByScalar]( [param:float scalar] )</h3>
142+
<h3>[method:this expandByScalar]( [param:float scalar] )</h3>
143143
<p>
144144
[page:float scalar] - Distance to expand the box by.<br /><br />
145145

146146
Expands each dimension of the box by [page:float scalar]. If negative, the dimensions of the box
147147
will be contracted.
148148
</p>
149149

150-
<h3>[method:Box3 expandByVector]( [param:Vector3 vector] )</h3>
150+
<h3>[method:this expandByVector]( [param:Vector3 vector] )</h3>
151151
<p>
152152
[page:Vector3 vector] - [page:Vector3] to expand the box by.<br /><br />
153153

@@ -186,13 +186,13 @@ <h3>[method:Vector3 getSize]( [param:Vector3 target] )</h3>
186186
Returns the width, height and depth of this box.
187187
</p>
188188

189-
<h3>[method:Box3 intersect]( [param:Box3 box] )</h3>
189+
<h3>[method:this intersect]( [param:Box3 box] )</h3>
190190
<p>
191191
[page:Box3 box] - Box to intersect with.<br /><br />
192192

193-
Returns the intersection of this and [page:Box3 box], setting the upper bound of this box to the lesser
193+
Computes the intersection of this and [page:Box3 box], setting the upper bound of this box to the lesser
194194
of the two boxes' upper bounds and the lower bound of this box to the greater of the two boxes'
195-
lower bounds.
195+
lower bounds. If there's no overlap, makes this box empty.
196196
</p>
197197

198198
<h3>[method:Boolean intersectsBox]( [param:Box3 box] )</h3>
@@ -230,10 +230,10 @@ <h3>[method:Boolean isEmpty]()</h3>
230230
the one both bounds share.
231231
</p>
232232

233-
<h3>[method:Box3 makeEmpty]()</h3>
233+
<h3>[method:this makeEmpty]()</h3>
234234
<p>Makes this box empty.</p>
235235

236-
<h3>[method:Box3 set]( [param:Vector3 min], [param:Vector3 max] )</h3>
236+
<h3>[method:this set]( [param:Vector3 min], [param:Vector3 max] )</h3>
237237
<p>
238238
[page:Vector3 min] - [page:Vector3] representing the lower (x, y, z) boundary of the box.<br />
239239
[page:Vector3 max] - [page:Vector3] representing the lower upper (x, y, z) boundary of the box.<br /><br />
@@ -242,21 +242,21 @@ <h3>[method:Box3 set]( [param:Vector3 min], [param:Vector3 max] )</h3>
242242
Please note that this method only copies the values from the given objects.
243243
</p>
244244

245-
<h3>[method:Box3 setFromArray]( [param:Array array] ) [param:Box3 this]</h3>
245+
<h3>[method:this setFromArray]( [param:Array array] )</h3>
246246
<p>
247247
array -- An array of position data that the resulting box will envelop.<br /><br />
248248

249249
Sets the upper and lower bounds of this box to include all of the data in *array*.
250250
</p>
251251

252-
<h3>[method:Box3 setFromBufferAttribute]( [param:BufferAttribute attribute] ) [param:Box3 this]</h3>
252+
<h3>[method:this setFromBufferAttribute]( [param:BufferAttribute attribute] )</h3>
253253
<p>
254254
[page:BufferAttribute attribute] - A buffer attribute of position data that the resulting box will envelop.<br /><br />
255255

256256
Sets the upper and lower bounds of this box to include all of the data in [page:BufferAttribute attribute].
257257
</p>
258258

259-
<h3>[method:Box3 setFromCenterAndSize]( [param:Vector3 center], [param:Vector3 size] ) [param:Box3 this]</h3>
259+
<h3>[method:this setFromCenterAndSize]( [param:Vector3 center], [param:Vector3 size] )</h3>
260260
<p>
261261
[page:Vector3 center], - Desired center position of the box. <br>
262262
[page:Vector3 size] - Desired x, y and z dimensions of the box.<br /><br />
@@ -265,7 +265,7 @@ <h3>[method:Box3 setFromCenterAndSize]( [param:Vector3 center], [param:Vector3 s
265265
in [page:Vector3 size]
266266
</p>
267267

268-
<h3>[method:Box3 setFromObject]( [param:Object3D object] )</h3>
268+
<h3>[method:this setFromObject]( [param:Object3D object] )</h3>
269269
<p>
270270
[page:Object3D object] - [page:Object3D] to compute the bounding box of.<br /><br />
271271

@@ -275,26 +275,26 @@ <h3>[method:Box3 setFromObject]( [param:Object3D object] )</h3>
275275

276276
</p>
277277

278-
<h3>[method:Box3 setFromPoints]( [param:Array points] )</h3>
278+
<h3>[method:this setFromPoints]( [param:Array points] )</h3>
279279
<p>
280280
[page:Array points] - Array of [page:Vector3 Vector3s] that the resulting box will contain.<br /><br />
281281

282282
Sets the upper and lower bounds of this box to include all of the points in [page:Array points].
283283
</p>
284284

285-
<h3>[method:Box3 translate]( [param:Vector3 offset] )</h3>
285+
<h3>[method:this translate]( [param:Vector3 offset] )</h3>
286286
<p>
287287
[page:Vector3 offset] - Direction and distance of offset.<br /><br />
288288

289289
Adds [page:Vector3 offset] to both the upper and lower bounds of this box, effectively moving this box
290290
[page:Vector3 offset] units in 3D space.
291291
</p>
292292

293-
<h3>[method:Box3 union]( [param:Box3 box] )</h3>
293+
<h3>[method:this union]( [param:Box3 box] )</h3>
294294
<p>
295295
[page:Box3 box] - Box that will be unioned with this box.<br /><br />
296296

297-
Unions this box with [page:Box3 box], setting the upper bound of this box to the greater of the
297+
Computes the union of this box and [page:Box3 box], setting the upper bound of this box to the greater of the
298298
two boxes' upper bounds and the lower bound of this box to the lesser of the two boxes'
299299
lower bounds.
300300
</p>

0 commit comments

Comments
 (0)