diff options
-rw-r--r-- | hole.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |