feat: migrated tankopedia pages

This commit is contained in:
TrèsAbhi committed 2024-09-07 20:40:06 -05:00
1 parent 135dd85a82
commit 9ae8b0ac49
30 files changed
+77 -19

No files matched your search

@@ -0,0 +1,9 @@
import { BoundingBox } from '@blitzkit/core/src/blitzkit/modelDefinitions';
import { Vector3Tuple } from 'three';
export function unionBoundingBox(a: BoundingBox, b: BoundingBox) {
return {
min: a.min.map((a, index) => Math.min(a, b.min[index])) as Vector3Tuple,
max: a.max.map((a, index) => Math.max(a, b.max[index])) as Vector3Tuple,
} satisfies BoundingBox;
}