overlay glasses

This commit is contained in:
kepler155c@gmail.com
2019-03-19 06:04:10 -04:00
parent b1c709795f
commit 6bf7ca4985
4 changed files with 187 additions and 33 deletions

View File

@@ -8,7 +8,6 @@ local module = device['plethora:kinetic'] or error('Missing kinetic')
local Kinetic = Util.shallowCopy(module)
function Kinetic.lookAt(pt)
--local x = pt.x < 0 and pt.x + .5 or pt.x - .5
local yaw, pitch = Angle.towards(pt.x, pt.y, pt.z)
return Kinetic.look(yaw, pitch)
end