mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02: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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user