mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
feat: rename to blitzrinth
This commit is contained in:
1 parent
0fd17d9c96
commit
c2b936c925
213 files changed
+314
-307
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { Vector3Tuple } from 'three';
|
||||
import { BoundingBox } from './modelDefinitions';
|
||||
|
||||
export function normalizeBoundingBox(boundingBox: BoundingBox) {
|
||||
return boundingBox.max.map(
|
||||
(max, index) => max - boundingBox.min[index],
|
||||
) as Vector3Tuple;
|
||||
}
|
||||
Reference in new issue
Block a user