Sha256: b53f533e14ebccffd98439a81765072f80472ba553a93345d43fbab0482e3b10
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
working_directory = File.join(File.dirname(__FILE__)) $LOAD_PATH << working_directory unless $LOAD_PATH.include?(working_directory) Dir[File.join(working_directory, '*.jar')].each do |jar| require jar end module PB include_package 'org.jbox2d.collision.shapes' include_package 'org.jbox2d.common' include_package 'org.jbox2d.dynamics' include_package 'org.jbox2d.dynamics.joints' include_package 'processing.box2d' end ContactListener = Java::OrgJbox2dCallbacks::ContactListener Transform = PB::Transform Vec2 = PB::Vec2 Body = PB::Body BodyDef = PB::BodyDef BodyType = PB::BodyType World = PB::World Joint = PB::Joint JointDef = PB::JointDef FixtureDef = PB::FixtureDef PolygonShape = PB::PolygonShape CircleShape = PB::CircleShape Box2D = PB::Box2DProcessing
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pbox2d-0.1.1-java | lib/pbox2d.rb |