Changed debugging.

This commit is contained in:
Harrison Deng 2021-05-07 20:36:47 -05:00
parent 2010398a12
commit aaff45aaa4

View File

@ -249,8 +249,8 @@ local function attemptBreakDown(notPattern)
end
local function orient(v, forward, right)
print("Attempting to orient such that " .. tostring(v) .. " == " .. tostring(forward) .. ".")
v = v / (v:length() * v:normalize())
print("Attempting to orient such that " .. tostring(v) .. " == " .. tostring(forward) .. ".")
if vectorEqual(v, forward) then
return true
elseif vectorEqual(v, right) then