mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: shell swapping
This commit is contained in:
1 parent
32ee10445d
commit
371dcad568
4 files changed
+107
-73
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import { Vector2Tuple } from 'three';
|
||||
|
||||
export function numericPenetration(penetration: number | Vector2Tuple) {
|
||||
return typeof penetration === 'number' ? penetration : penetration[0];
|
||||
}
|
||||
Reference in new issue
Block a user