core: Add dir_to_yaw and yaw_to_dir helpers
authorAuke Kok <sofar@foo-projects.org>
Thu, 12 Jan 2017 19:56:41 +0000 (11:56 -0800)
committerparamat <mat.gregory@virginmedia.com>
Mon, 23 Jan 2017 07:38:39 +0000 (07:38 +0000)
commit7fc67199683d3c60fe0b3ddcb2a9594b4804cc38
treef79879304d42bfeb5ae649d12cc4850b8029828d
parent2d7a6f2cc0717eb92de4a91326a871d525ce513d
core: Add dir_to_yaw and yaw_to_dir helpers

These are needed to go from things like entity yaw to a vector
and vice versa.
builtin/game/item.lua
doc/lua_api.txt