diff options
author | ubq323 <ubq323@ubq323.website> | 2022-06-28 00:33:33 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-06-28 00:33:33 +0100 |
commit | 07ff4f5e9d3a12f27f1cb20bd7666d2e9dcece08 (patch) | |
tree | b69d19c8852385d1a483e6b5744a086255a22ba1 | |
parent | 6983d873e5533297b10972184f129574c53f12e1 (diff) |
hole
-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") |