Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that calculateBoundingBox is aligned to the axes. #719

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/reference/en/p5.Geometry/calculateBoundingBox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ module: Shape
submodule: 3D Primitives
file: src/webgl/p5.Geometry.js
description: >
<p>Calculates the position and size of the smallest box that contains the
<p>Calculates the position and size of the smallest axes-aligned box that contains the
geometry.</p>

<p>A bounding box is the smallest rectangular prism that contains the entire
<p>A bounding box is the smallest rectangular prism aligned with the axes that contains the entire

geometry. It's defined by the box's minimum and maximum coordinates along

Expand Down
4 changes: 2 additions & 2 deletions src/content/reference/en/p5/p5.Geometry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ example:
methods:
calculateBoundingBox:
description: >
<p>Calculates the position and size of the smallest box that contains the
<p>Calculates the position and size of the smallest axes-aligned box that contains the
geometry.</p>

<p>A bounding box is the smallest rectangular prism that contains the
<p>A bounding box is the smallest rectangular prism aligned with the axes that contains the
entire

geometry. It's defined by the box's minimum and maximum coordinates along
Expand Down