Module: Ruby::Bullet::Static
- Defined in:
- lib/ruby-bullet.rb
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
14 15 16 |
# File 'lib/ruby-bullet.rb', line 14 def self.get_deps_inc_path "#{get_top_path()}/deps/include/" end |
.get_deps_lib_path ⇒ Object
10 11 12 |
# File 'lib/ruby-bullet.rb', line 10 def self.get_deps_lib_path "#{get_top_path}/deps/lib" end |
.get_inc_flags ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/ruby-bullet.rb', line 18 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
33 34 35 |
# File 'lib/ruby-bullet.rb', line 33 def self.get_lib_flags "-L#{get_top_path}/deps/lib -lBulletDynamics -lBulletCollision -lBulletSoftBody -lLinearMath" end |
.get_top_path ⇒ Object
6 7 8 |
# File 'lib/ruby-bullet.rb', line 6 def self.get_top_path File.dirname(File.dirname(File.(__FILE__))) end |