Skip to content

Commit eb41b40

Browse files
s-rigaudSamuel RigaudMugen87
authored
Box3: Improve doc links (#30548)
* Box3: Improve doc links * Update Box3.js * Update Box3.js * Update Box3.js --------- Co-authored-by: Samuel Rigaud <[email protected]> Co-authored-by: Michael Herzog <[email protected]>
1 parent 3ba9864 commit eb41b40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/math/Box3.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class Box3 {
138138
}
139139

140140
/**
141-
* Computes the world-axis-aligned bounding box of an [page:Object3D]
141+
* Computes the world-axis-aligned bounding box for the given 3D object
142142
* (including its children), accounting for the object's, and children's,
143143
* world transforms. The function may result in a larger box than strictly necessary.
144144
*
@@ -253,7 +253,7 @@ class Box3 {
253253
* Expands this box equilaterally by the given vector. The width of this
254254
* box will be expanded by the x component of the vector in both
255255
* directions. The height of this box will be expanded by the y component of
256-
* the vectorin both directions. The depth of this box will be
256+
* the vector in both directions. The depth of this box will be
257257
* expanded by the z component of the vector in both directions.
258258
*
259259
* @param {Vector3} vector - The vector that should expand the bounding box.
@@ -285,7 +285,7 @@ class Box3 {
285285
}
286286

287287
/**
288-
* Expands the boundaries of this box to include [page:Object3D object] and
288+
* Expands the boundaries of this box to include the given 3D object and
289289
* its children, accounting for the object's, and children's, world
290290
* transforms. The function may result in a larger box than strictly
291291
* necessary (unless the precise parameter is set to true).
@@ -643,7 +643,7 @@ class Box3 {
643643
}
644644

645645
/**
646-
* Computes the union of this box and [page:Box3 box], setting the upper
646+
* Computes the union of this box and another and the given one, setting the upper
647647
* bound of this box to the greater of the two boxes' upper bounds and the
648648
* lower bound of this box to the lesser of the two boxes' lower bounds.
649649
*

0 commit comments

Comments
 (0)