chore: 添加第三方依赖库

This commit is contained in:
yhh
2025-12-03 16:24:08 +08:00
parent cb1b171216
commit 83aee02540
172 changed files with 27480 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import {init, Vector3, World} from "../builds/3d-deterministic/pkg";
describe("3d/World", () => {
let world: World;
beforeAll(init);
afterAll(async () => {
await Promise.resolve();
});
beforeEach(() => {
world = new World(new Vector3(0, 9.8, 0));
});
afterEach(() => {
world.free();
});
test("constructor", () => {
expect(world.colliders.len()).toBe(0);
});
});