mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Add player:set_eye_offset() by @MirceaKitsune and clean up
This commit is contained in:
@@ -27,7 +27,7 @@ class ClientEnvironment;
|
||||
|
||||
class ClientActiveObject;
|
||||
|
||||
enum localPlayerAnimations {NO_ANIM, WALK_ANIM, DIG_ANIM, WD_ANIM}; // no local animation, walking, digging, both
|
||||
enum LocalPlayerAnimations {NO_ANIM, WALK_ANIM, DIG_ANIM, WD_ANIM}; // no local animation, walking, digging, both
|
||||
|
||||
class LocalPlayer : public Player
|
||||
{
|
||||
@@ -63,6 +63,9 @@ public:
|
||||
|
||||
float camera_impact;
|
||||
int camera_mode;
|
||||
v3f eye_offset_first;
|
||||
v3f eye_offset_third;
|
||||
|
||||
int last_animation;
|
||||
float last_animation_speed;
|
||||
|
||||
|
Reference in New Issue
Block a user