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