Module: Ruby::Bullet
- Defined in:
- lib/version.rb,
lib/ruby-bullet.rb,
lib/ruby-bullet/version.rb
Constant Summary collapse
- VERSION =
"0.1.1"
Class Method Summary collapse
- .get_deps_inc_path ⇒ Object
- .get_deps_lib_path ⇒ Object
- .get_inc_flags ⇒ Object
- .get_lib_flags ⇒ Object
- .get_top_path ⇒ Object
Class Method Details
.get_deps_inc_path ⇒ Object
13 14 15 |
# File 'lib/ruby-bullet.rb', line 13 def self.get_deps_inc_path "#{get_top_path()}/deps/include/" end |
.get_deps_lib_path ⇒ Object
9 10 11 |
# File 'lib/ruby-bullet.rb', line 9 def self.get_deps_lib_path "#{get_top_path}/deps/lib" end |
.get_inc_flags ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/ruby-bullet.rb', line 17 def self.get_inc_flags " -I#{get_top_path}/deps/include/bullet/ " + " -I#{get_top_path}/deps/include/bullet/LinearMath/ " + " -I#{get_top_path}/deps/include/bullet/BulletCollision/CollisionDispatch/ " + " -I#{get_top_path}/deps/include/bullet/BulletCollision/BroadphaseCollision/ " + " -I#{get_top_path}/deps/include/bullet/BulletCollision/NarrowPhaseCollision/ " + " -I#{get_top_path}/deps/include/bullet/BulletCollision/CollisionShapes/ " + " -I#{get_top_path}/deps/include/bullet/BulletCollision/Gimpact/ " + " -I#{get_top_path}/deps/include/bullet/BulletDynamics/ConstraintSolver/ " + " -I#{get_top_path}/deps/include/bullet/BulletDynamics/Dynamics/ " + " -I#{get_top_path}/deps/include/bullet/BulletDynamics/Vehicle/ " + " -I#{get_top_path}/deps/include/bullet/BulletDynamics/Character/ " + " -I#{get_top_path}/deps/include/bullet/BulletSoftBody/ " end |
.get_lib_flags ⇒ Object
32 33 34 |
# File 'lib/ruby-bullet.rb', line 32 def self.get_lib_flags "-L#{get_top_path}/deps/lib -lBulletDynamics -lBulletCollision -lBulletSoftBody -lLinearMath" end |
.get_top_path ⇒ Object
5 6 7 |
# File 'lib/ruby-bullet.rb', line 5 def self.get_top_path File.dirname(File.dirname(File.(__FILE__))) end |