diff options
| author | Lizzy Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-09 21:51:22 -0700 |
|---|---|---|
| committer | Lizzy Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-09 21:51:22 -0700 |
| commit | 42838864af3503f85cabc5dbd73b98a64d20cded (patch) | |
| tree | 48dd75f0b9fcdc1fb8ec6db5ac2bec0a36b9afe7 /src/engine/components/BoundingBox.ts | |
| parent | ce403459fa82025bd969d1938ed4034a10c2e751 (diff) | |
| download | the-abstraction-engine-ts-42838864af3503f85cabc5dbd73b98a64d20cded.tar.gz the-abstraction-engine-ts-42838864af3503f85cabc5dbd73b98a64d20cded.zip | |
prettier
Diffstat (limited to 'src/engine/components/BoundingBox.ts')
| -rw-r--r-- | src/engine/components/BoundingBox.ts | 4 |
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; |
