forked from LeenkxTeam/LNXSDK
20 lines
423 B
Haxe
20 lines
423 B
Haxe
package leenkx.trait.physics;
|
|
|
|
#if (!lnx_physics)
|
|
|
|
class PhysicsWorld extends iron.Trait { public function new() { super(); } }
|
|
|
|
#else
|
|
|
|
#if lnx_bullet
|
|
|
|
typedef PhysicsWorld = leenkx.trait.physics.bullet.PhysicsWorld;
|
|
typedef Hit = leenkx.trait.physics.bullet.PhysicsWorld.Hit;
|
|
#else
|
|
|
|
typedef PhysicsWorld = leenkx.trait.physics.oimo.PhysicsWorld;
|
|
typedef Hit = leenkx.trait.physics.oimo.PhysicsWorld.Hit;
|
|
#end
|
|
|
|
#end
|