refactor: clean architecture and remove unused code
This commit is contained in:
@@ -2,6 +2,14 @@ import type { Octree } from "three/addons/math/Octree.js";
|
||||
|
||||
export type Vector3Tuple = [number, number, number];
|
||||
|
||||
export type Vector3Scale = Vector3Tuple | number;
|
||||
|
||||
export interface ModelTransformProps {
|
||||
position?: Vector3Tuple;
|
||||
rotation?: Vector3Tuple;
|
||||
scale?: Vector3Scale;
|
||||
}
|
||||
|
||||
export type ColliderShape = "cuboid" | "ball" | "hull";
|
||||
|
||||
export type OctreeReadyHandler = (octree: Octree) => void;
|
||||
|
||||
Reference in New Issue
Block a user