Commit Graph
1 Commits
Author SHA1 Message Date
Eliot ByteandGitHub 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