MineClone2/mods
kno10 80a6a6efb0 Choose direction vectors uniformly for spawning (#4467)
The previous code was biased towards placing mobs on top or below the
player, because it chose the theta inclination angle uniformly,
but the sphere is more narrow at the top and bottom.

This code is also simpler.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4467
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-07-31 02:30:29 +02:00
..
CORE Add new supported_node_facedir group and apply it to item frames (#4291) 2024-05-26 15:21:14 +00:00
ENTITIES Choose direction vectors uniformly for spawning (#4467) 2024-07-31 02:30:29 +02:00
ENVIRONMENT Fix crashes with raids and bad omen effect (#4326) 2024-05-26 15:21:43 +00:00
HELP Fix some formspecs on mobile (#4456) 2024-06-24 03:26:02 +02:00
HUD Address review comments 2024-06-26 06:52:26 -05:00
ITEMS Fix deprecated get_metadata() usage 2024-07-31 02:27:26 +02:00
MAPGEN Merge pull request 'Rover and Stalker' (#4282) from rover_stalker into master 2024-05-22 19:01:14 +00:00
MISC mcl_privs pt_BR translation 2023-12-22 23:45:07 +01:00
PLAYER Remove unused function in mcl_hunger 2024-05-22 21:03:43 +02:00