voxelcore/src/world
Eliot Byte ed9cf8800a
fix correct line generation algorithm and bounds calculation (#657)
* fix correct line generation algorithm and bounds calculation

- Fix closest_point_on_segment algorithm using proper dot product projection
- Correct loop bounds calculation for radius=0 lines
- Use precise integer arithmetic to avoid rounding errors
- Resolves missing blocks in vertical line structures

* fix ai hallucinations

* polishing closest_point_on_segment

* refactor: extract dot product calculation
2025-10-23 12:29:04 +03:00
..
files fix std::bad_alloc caused by corrupted regions 2025-09-30 00:28:51 +03:00
generator fix correct line generation algorithm and bounds calculation (#657) 2025-10-23 12:29:04 +03:00
Level.cpp refactor Entities 2025-08-09 21:19:01 +03:00
Level.hpp add pathfinding 2025-07-31 23:29:22 +03:00
LevelEvents.cpp migrate blocks interaction (scripting) to global chunks storage (WIP) 2024-12-13 05:54:41 +03:00
LevelEvents.hpp add on_chunk_present and on_chunk_remove events 2025-01-12 05:41:42 +03:00
Weather.cpp reduce extra includes 2025-04-02 14:55:53 +03:00
Weather.hpp feat: post-effects array parameters & add gfx.posteffects.set_array & make shadows opacity depending on clouds opacity 2025-06-14 20:06:05 +03:00
World.cpp add 'is_new' argument to on_world_open 2025-08-15 23:48:04 +03:00
World.hpp add 'is_new' argument to on_world_open 2025-08-15 23:48:04 +03:00