6 Commits
Author SHA1 Message Date
eliotbyteandMihailRis b85c5e367a fix extended block placement across chunk borders 2025-11-24 21:25:15 +03:00
eliotbyteandMihailRis 3074836bcc docs: add :block placement to world generator 2025-11-24 21:24:30 +03:00
eliotbyteandMihailRis 9ccaecddd2 add :block placement for single blocks 2025-11-24 21:23:59 +03:00
eliotbyte cd6b73f1eb docs: add custom model variant examples to block-propertie 2025-10-28 23:09:48 +03:00
eliotbyte 2a1d2f9354 fix enable per-variant custom model caching 2025-10-28 23:09:28 +03:00
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