Module: Ruby::Bullet::Dynamic

Defined in:
lib/ruby-bullet.rb

Class Method Summary collapse

Class Method Details

.get_inc_flagsObject



43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/ruby-bullet.rb', line 43

def self.get_inc_flags
  " -I#{get_top_path}/include/bullet/ " +     
    " -I#{get_top_path}/include/bullet/LinearMath/ " + 
    " -I#{get_top_path}/include/bullet/BulletCollision/CollisionDispatch/ " + 
    " -I#{get_top_path}/include/bullet/BulletCollision/BroadphaseCollision/ " + 
    " -I#{get_top_path}/include/bullet/BulletCollision/NarrowPhaseCollision/ " +
    " -I#{get_top_path}/include/bullet/BulletCollision/CollisionShapes/ " + 
    " -I#{get_top_path}/include/bullet/BulletCollision/Gimpact/ " + 
    " -I#{get_top_path}/include/bullet/BulletDynamics/ConstraintSolver/ " + 
    " -I#{get_top_path}/include/bullet/BulletDynamics/Dynamics/ " +
    " -I#{get_top_path}/include/bullet/BulletDynamics/Vehicle/ " + 
    " -I#{get_top_path}/include/bullet/BulletDynamics/Character/ " + 
    " -I#{get_top_path}/include/bullet/BulletSoftBody/ "
end

.get_lib_flagsObject



58
59
60
# File 'lib/ruby-bullet.rb', line 58

def self.get_lib_flags
  "-lBulletDynamics -lBulletCollision -lBulletSoftBody -lLinearMath"
end

.get_top_pathObject



39
40
41
# File 'lib/ruby-bullet.rb', line 39

def self.get_top_path
  '/usr'
end