summaryrefslogtreecommitdiff
path: root/src/engine/components/BoundingBox.ts
diff options
context:
space:
mode:
authorLizzy Hunt <elizabeth.hunt@simponic.xyz>2024-03-09 21:51:22 -0700
committerLizzy Hunt <elizabeth.hunt@simponic.xyz>2024-03-09 21:51:22 -0700
commit42838864af3503f85cabc5dbd73b98a64d20cded (patch)
tree48dd75f0b9fcdc1fb8ec6db5ac2bec0a36b9afe7 /src/engine/components/BoundingBox.ts
parentce403459fa82025bd969d1938ed4034a10c2e751 (diff)
downloadthe-abstraction-engine-42838864af3503f85cabc5dbd73b98a64d20cded.tar.gz
the-abstraction-engine-42838864af3503f85cabc5dbd73b98a64d20cded.zip
prettier
Diffstat (limited to 'src/engine/components/BoundingBox.ts')
-rw-r--r--src/engine/components/BoundingBox.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/components/BoundingBox.ts b/src/engine/components/BoundingBox.ts
index d64041f..fd1636f 100644
--- a/src/engine/components/BoundingBox.ts
+++ b/src/engine/components/BoundingBox.ts
@@ -49,8 +49,8 @@ export class BoundingBox extends Component {
const projection = dotProduct(normal, vertex);
return [Math.min(min, projection), Math.max(max, projection)];
},
- [Infinity, -Infinity],
- ),
+ [Infinity, -Infinity]
+ )
);
if (maxThis < minBox || maxBox < minThis) return false;