summaryrefslogtreecommitdiffhomepage
path: root/lib/camera/wrappers/square_wrapper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/camera/wrappers/square_wrapper.rb')
-rw-r--r--lib/camera/wrappers/square_wrapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/camera/wrappers/square_wrapper.rb b/lib/camera/wrappers/square_wrapper.rb
index f828e0c..40578e5 100644
--- a/lib/camera/wrappers/square_wrapper.rb
+++ b/lib/camera/wrappers/square_wrapper.rb
@@ -6,7 +6,7 @@ module Camera
module SquareWrapped
# 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