mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 16:52:43 +08:00
转换物理引擎为 built-in (#4324)
This commit is contained in:
committed by
Weiliang Wang
parent
2334ac598e
commit
d2eb6eaca4
@@ -1,10 +1,10 @@
|
||||
|
||||
export {
|
||||
CannonBoxShape as BoxShape,
|
||||
CannonRigidBody as RigidBody,
|
||||
CannonSphereShape as SphereShape,
|
||||
CannonWorld as PhysicsWorld,
|
||||
} from './cannon-impl';
|
||||
// export {
|
||||
// CannonBoxShape as BoxShape,
|
||||
// CannonRigidBody as RigidBody,
|
||||
// CannonSphereShape as SphereShape,
|
||||
// CannonWorld as PhysicsWorld,
|
||||
// } from './cannon-impl';
|
||||
|
||||
// export {
|
||||
// AmmoBoxShape as BoxShape,
|
||||
@@ -15,7 +15,7 @@ export {
|
||||
// } from './ammo-impl';
|
||||
|
||||
// 增加built-in物理模块
|
||||
// export { BuiltInBody as RigidBody } from './cocos/built-in-body';
|
||||
// export { BuiltInBoxShape as BoxShape } from './cocos/built-in-shape';
|
||||
// export { BuiltInSphereShape as SphereShape } from './cocos/built-in-shape';
|
||||
// export { BuiltInWorld as PhysicsWorld } from './cocos/built-in-world';
|
||||
export { BuiltInBody as RigidBody } from './cocos/built-in-body';
|
||||
export { BuiltInBoxShape as BoxShape } from './cocos/built-in-shape';
|
||||
export { BuiltInSphereShape as SphereShape } from './cocos/built-in-shape';
|
||||
export { BuiltInWorld as PhysicsWorld } from './cocos/built-in-world';
|
||||
|
||||
Reference in New Issue
Block a user