From 07ff4f5e9d3a12f27f1cb20bd7666d2e9dcece08 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 28 Jun 2022 00:33:33 +0100 Subject: hole --- hole.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3