1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Improve block bounds HUD feature

* Use different material than selection box, so it doesn't break
  for non-default `node_highlighting` values.
* Add `show_block_bounds_radius_near` setting.
* Draw mesh chunk edges in a different color (red vs yellow).
This commit is contained in:
Desour 2024-08-24 13:32:39 +02:00 committed by sfan5
parent 04f0a4a1c6
commit 2e883189c1
4 changed files with 61 additions and 18 deletions

View file

@ -137,6 +137,7 @@ private:
v3f m_selected_face_normal;
video::SMaterial m_selection_material;
video::SMaterial m_block_bounds_material;
scene::SMeshBuffer m_rotation_mesh_buffer;