Skip to content

Commit 3170df0

Browse files
Clarify that calculateBoundingBox is aligned to the axes.
1 parent 319a8fb commit 3170df0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/content/reference/en/p5.Geometry/calculateBoundingBox.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ module: Shape
44
submodule: 3D Primitives
55
file: src/webgl/p5.Geometry.js
66
description: >
7-
<p>Calculates the position and size of the smallest box that contains the
7+
<p>Calculates the position and size of the smallest axes-aligned box that contains the
88
geometry.</p>
99
10-
<p>A bounding box is the smallest rectangular prism that contains the entire
10+
<p>A bounding box is the smallest rectangular prism aligned with the axes that contains the entire
1111
1212
geometry. It's defined by the box's minimum and maximum coordinates along
1313

src/content/reference/en/p5/p5.Geometry.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,10 @@ example:
275275
methods:
276276
calculateBoundingBox:
277277
description: >
278-
<p>Calculates the position and size of the smallest box that contains the
278+
<p>Calculates the position and size of the smallest axes-aligned box that contains the
279279
geometry.</p>
280280
281-
<p>A bounding box is the smallest rectangular prism that contains the
281+
<p>A bounding box is the smallest rectangular prism aligned with the axes that contains the
282282
entire
283283
284284
geometry. It's defined by the box's minimum and maximum coordinates along

0 commit comments

Comments
 (0)