Skip to content

Commit

Permalink
[v3.8.5] Remove unused exports/wait-for-ammon-instantiation.ts (cocos…
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar authored and qiuguohua committed Nov 26, 2024
1 parent 8cd4cc6 commit acb548e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 56 deletions.
2 changes: 1 addition & 1 deletion cc.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"dependentAssets": ["ba21476f-2866-4f81-9c4d-6e359316e448"]
},
"physics-ammo": {
"modules": ["physics-ammo", "physics-framework", "wait-for-ammo-instantiation"],
"modules": ["physics-ammo", "physics-framework"],
"dependentAssets": ["ba21476f-2866-4f81-9c4d-6e359316e448"]
},
"physics-builtin": {
Expand Down
26 changes: 0 additions & 26 deletions exports/wait-for-ammo-instantiation.ts

This file was deleted.

27 changes: 0 additions & 27 deletions exports/wait-for-box2d-instantiation.ts

This file was deleted.

2 changes: 1 addition & 1 deletion tests/physics/physics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { physics, PhysicsMaterial, PhysicsSystem } from "../../exports/physics-f

import "../../exports/physics-physx";
import "../../exports/physics-builtin";
import waitForAmmoInstantiation from "../../exports/wait-for-ammo-instantiation";
import "../../exports/physics-ammo";
import "../../exports/physics-cannon";
import { InitPhysXLibs } from '../../cocos/physics/physx/physx-adapter';
import { waitForAmmoInstantiation } from "../../cocos/physics/bullet/instantiated";
import EventTest from "./event";
import RaycastTest from "./raycast";
import SweepTest from "./sweep";
Expand Down
2 changes: 1 addition & 1 deletion tests/physics2d/physics2d.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import Utils from "./utilis";
import * as physics2d from "../../exports/physics-2d-framework";
import { Node, Scene } from "../../cocos/scene-graph";

import waitForBox2dWasmInstantiation from "../../exports/wait-for-box2d-instantiation";
import "../../exports/physics-2d-box2d-wasm";
import "../../exports/physics-2d-box2d";
import "../../exports/physics-2d-builtin";
import { waitForBox2dWasmInstantiation } from "../../cocos/physics-2d/box2d-wasm/instantiated";

import RigidBodyTest from "./rigid-body";
import ColliderTest from "./collider";
Expand Down

0 comments on commit acb548e

Please sign in to comment.