summaryrefslogtreecommitdiffhomepage
path: root/lib/camera/wrappers/line_wrapper.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2021-04-25 04:25:57 -0400
committerrealtradam <[email protected]>2021-04-25 04:25:57 -0400
commit505a4735d519253c5f173f47fbe9691bc5d9ce93 (patch)
treea3b2600a87a4285e60165728f48a346a7b05dec3 /lib/camera/wrappers/line_wrapper.rb
parent93290fb327f4dac63ac201c4c21e13c60cae0eff (diff)
downloadruby2d-camera-old-505a4735d519253c5f173f47fbe9691bc5d9ce93.tar.gz
ruby2d-camera-old-505a4735d519253c5f173f47fbe9691bc5d9ce93.zip
.
Diffstat (limited to 'lib/camera/wrappers/line_wrapper.rb')
-rw-r--r--lib/camera/wrappers/line_wrapper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/camera/wrappers/line_wrapper.rb b/lib/camera/wrappers/line_wrapper.rb
index d2c1801..7d4d944 100644
--- a/lib/camera/wrappers/line_wrapper.rb
+++ b/lib/camera/wrappers/line_wrapper.rb
@@ -19,7 +19,7 @@ module Camera
#Methods for moving the shape
def x
- @x ||= x1
+ @x ||= 0
end
def x=(x)
@@ -27,7 +27,7 @@ module Camera
end
def y
- @y ||= y1
+ @y ||= 0
end
def y=(y)