Skip to content

Commit c6379c0

Browse files
committed
More fixes
1 parent caa56e2 commit c6379c0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

examples/distance_joint/distance_joint.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def settings
1919
end
2020

2121
def setup
22+
sketch_title 'Distance Joint'
2223
# Initialize box2d physics and create the world
2324
@box2d = WorldBuilder.build(app: self)
2425
@system = ParticleSystem.new

examples/mouse_joint/mouse_joint.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
# Basic example of controlling an object with the mouse (by attaching a spring)
66

77
require 'pbox2d'
8+
require 'forwardable'
89
require_relative 'box'
910
require_relative 'boundary'
1011
require_relative 'spring'
1112
require_relative 'dummy_spring'
12-
require 'forwardable'
13+
1314

1415
# A reference to our box2d world
1516
attr_reader :box2d, :boundaries, :box, :spring

0 commit comments

Comments
 (0)