VoxeLibre/mods
kno10 b540e6c77b Improve head swivel code (#4622)
* Utilize the minetest 5.9.0 API that uses radians not degree.
* Simplify computations to make this more efficient, in particular by querying and updating the bone position less frequently.
* Resolves minetest warning `Deprecated call to set_bone_position, use set_bone_override instead` in this location, but other uses remain.
* `mcl_util.set_bone_position` not modified, because it redundantly compares to the previous rotation once more.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4622
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-11-10 02:41:55 +01:00
..
CORE Address review comments 2024-09-16 13:32:06 +02:00
ENTITIES Improve head swivel code (#4622) 2024-11-10 02:41:55 +01:00
ENVIRONMENT Make fog_tint_type = "default" when weather is present to match behavior at 0.87.2 2024-10-09 01:05:20 +02:00
HELP Add crash guards against unknown items (#4623) 2024-08-31 23:41:06 +02:00
HUD Fix missing dependencies for random_mod_load_order 2024-09-15 22:25:44 +02:00
ITEMS Cleanup of mcl_core/functions (#4592) 2024-11-10 02:32:51 +01:00
MAPGEN Fix structure spawns under water + peaceful spawns (#4607) 2024-09-15 23:15:30 +02:00
MISC Remove unused code in mcl_privs 2024-11-10 01:34:50 +01:00
PLAYER Use soul_block group for soul speed bonus 2024-09-18 10:06:03 +02:00