forked from minetest-mods/camera
Remove debugging code
This commit is contained in:
parent
87a7e729c5
commit
94737b2494
1
init.lua
1
init.lua
@ -123,7 +123,6 @@ function camera:on_step(dtime)
|
|||||||
-- Calculate pitch and yaw if target_look_position defined
|
-- Calculate pitch and yaw if target_look_position defined
|
||||||
if target_look_position then
|
if target_look_position then
|
||||||
local vec_pos = vector.subtract(target_look_position, pos)
|
local vec_pos = vector.subtract(target_look_position, pos)
|
||||||
print("vec_pos "..dump(vec_pos))
|
|
||||||
|
|
||||||
-- Pitch
|
-- Pitch
|
||||||
local opp = vec_pos.y
|
local opp = vec_pos.y
|
||||||
|
Loading…
Reference in New Issue
Block a user