summaryrefslogtreecommitdiff
path: root/hole.lua
diff options
context:
space:
mode:
Diffstat (limited to 'hole.lua')
-rw-r--r--hole.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/hole.lua b/hole.lua
index c8b55fa..e7ba95f 100644
--- a/hole.lua
+++ b/hole.lua
@@ -2,7 +2,7 @@ local function yaw_pitch(xoff,yoff,zoff)
local yaw = -math.deg(math.atan2(xoff,zoff))
local perp_dist = math.sqrt(xoff*xoff+zoff*zoff)
local pitch = -math.deg(math.atan2(yoff, perp_dist))
- return yaw,pitch
+ return yaw,pitch+2.5
end
local scanner = assert(peripheral.wrap"right")