mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Player: New get_look, set_look API
Deprecate get_look / set_look pitch / yaw
This commit is contained in:
parent
04fb10914c
commit
fa0bbbf96d
4 changed files with 124 additions and 12 deletions
|
@ -189,15 +189,31 @@ private:
|
|||
// get_look_dir(self)
|
||||
static int l_get_look_dir(lua_State *L);
|
||||
|
||||
// DEPRECATED
|
||||
// get_look_pitch(self)
|
||||
static int l_get_look_pitch(lua_State *L);
|
||||
|
||||
// DEPRECATED
|
||||
// get_look_yaw(self)
|
||||
static int l_get_look_yaw(lua_State *L);
|
||||
|
||||
// get_look_pitch2(self)
|
||||
static int l_get_look_vertical(lua_State *L);
|
||||
|
||||
// get_look_yaw2(self)
|
||||
static int l_get_look_horizontal(lua_State *L);
|
||||
|
||||
// set_look_vertical(self, radians)
|
||||
static int l_set_look_vertical(lua_State *L);
|
||||
|
||||
// set_look_horizontal(self, radians)
|
||||
static int l_set_look_horizontal(lua_State *L);
|
||||
|
||||
// DEPRECATED
|
||||
// set_look_pitch(self, radians)
|
||||
static int l_set_look_pitch(lua_State *L);
|
||||
|
||||
// DEPRECATED
|
||||
// set_look_yaw(self, radians)
|
||||
static int l_set_look_yaw(lua_State *L);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue