diff options
Diffstat (limited to 'lib/camera/wrappers/line_wrapper.rb')
| -rw-r--r-- | lib/camera/wrappers/line_wrapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/camera/wrappers/line_wrapper.rb b/lib/camera/wrappers/line_wrapper.rb index 4024d1f..d2c1801 100644 --- a/lib/camera/wrappers/line_wrapper.rb +++ b/lib/camera/wrappers/line_wrapper.rb @@ -6,7 +6,7 @@ module Camera module LineWrapped # Recalculates real coordiantes # Use after changing variables - def update + def redraw angle = Camera.angle * (Math::PI / 180) half_width = Window.width * 0.5 half_height = Window.height * 0.5 |
