1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Make getting bone overrides return the "same" euler angles (#15007)

This commit is contained in:
Lars Müller 2024-08-26 21:22:38 +02:00 committed by GitHub
parent 5583831c40
commit 21ed680b10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 37 additions and 10 deletions

View file

@ -96,6 +96,9 @@ struct BoneOverride
{
core::quaternion previous;
core::quaternion next;
// Redundantly store the euler angles serverside
// so that we can return them in the appropriate getters
v3f next_radians;
bool absolute = false;
f32 interp_timer = 0;
} rotation;