From 63e9c8733e14d875b439270f951f4cfa79c60e3c Mon Sep 17 00:00:00 2001 From: Quinn Dillon Flavel Date: Tue, 11 Mar 2025 22:47:13 -0400 Subject: [PATCH] Clarify that `calculateBoundingBox` is aligned to the axes. --- src/content/reference/en/p5.Geometry/calculateBoundingBox.mdx | 4 ++-- src/content/reference/en/p5/p5.Geometry.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/reference/en/p5.Geometry/calculateBoundingBox.mdx b/src/content/reference/en/p5.Geometry/calculateBoundingBox.mdx index 4c641b1346..94c7ca4601 100644 --- a/src/content/reference/en/p5.Geometry/calculateBoundingBox.mdx +++ b/src/content/reference/en/p5.Geometry/calculateBoundingBox.mdx @@ -4,10 +4,10 @@ module: Shape submodule: 3D Primitives file: src/webgl/p5.Geometry.js description: > -

Calculates the position and size of the smallest box that contains the +

Calculates the position and size of the smallest axes-aligned box that contains the geometry.

-

A bounding box is the smallest rectangular prism that contains the entire +

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 diff --git a/src/content/reference/en/p5/p5.Geometry.mdx b/src/content/reference/en/p5/p5.Geometry.mdx index c86a37cb3a..754f56ae7b 100644 --- a/src/content/reference/en/p5/p5.Geometry.mdx +++ b/src/content/reference/en/p5/p5.Geometry.mdx @@ -275,10 +275,10 @@ example: methods: calculateBoundingBox: description: > -

Calculates the position and size of the smallest box that contains the +

Calculates the position and size of the smallest axes-aligned box that contains the geometry.

-

A bounding box is the smallest rectangular prism that contains the +

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