summaryrefslogtreecommitdiffhomepage
path: root/lib/camera/wrappers/triangle_wrapper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/camera/wrappers/triangle_wrapper.rb')
-rw-r--r--lib/camera/wrappers/triangle_wrapper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/camera/wrappers/triangle_wrapper.rb b/lib/camera/wrappers/triangle_wrapper.rb
index b26ef81..0aba2c0 100644
--- a/lib/camera/wrappers/triangle_wrapper.rb
+++ b/lib/camera/wrappers/triangle_wrapper.rb
@@ -20,7 +20,7 @@ module Camera
#Methods for moving the shape
def x
- @x ||= x1
+ @x ||= 0
end
def x=(x)
@@ -28,7 +28,7 @@ module Camera
end
def y
- @y ||= y1
+ @y ||= 0
end
def y=(y)