forked from LeenkxTeam/LNXSDK
moisesjpelaez - Oimo Physics
This commit is contained in:
parent
cde2bead97
commit
7969286fdc
@ -3,16 +3,19 @@ package leenkx.trait.physics;
|
|||||||
#if (!lnx_physics)
|
#if (!lnx_physics)
|
||||||
|
|
||||||
class RigidBody extends iron.Trait { public function new() { super(); } }
|
class RigidBody extends iron.Trait { public function new() { super(); } }
|
||||||
|
@:enum abstract Shape(Int) from Int to Int { }
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#if lnx_bullet
|
#if lnx_bullet
|
||||||
|
|
||||||
typedef RigidBody = leenkx.trait.physics.bullet.RigidBody;
|
typedef RigidBody = leenkx.trait.physics.bullet.RigidBody;
|
||||||
|
typedef Shape = leenkx.trait.physics.bullet.RigidBody.Shape;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
typedef RigidBody = leenkx.trait.physics.oimo.RigidBody;
|
typedef RigidBody = leenkx.trait.physics.oimo.RigidBody;
|
||||||
|
typedef Shape = leenkx.trait.physics.oimo.RigidBody.Shape;
|
||||||
|
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user