Skip to content

Conversation

@MihailRis
Copy link
Owner

No description provided.

eliotbyte and others added 23 commits November 2, 2025 15:00
* 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
Extract repeated frustum culling, UV region filling, and directional lighting calculations into helper functions. Fix compilation issues
Replace magic numbers with named constants, add AABB helpers,
reduce redundant normalizations, improve TU organization
…pers

- Added compute_face_points() to eliminate repeated p0..p3 calculations
- Added expand_aabb_4_if_needed() to consolidate densePass checks
- Unified expand_aabb() usage to expand_aabb_point() throughout
- Reduced code duplication in face(), faceAO(), and face variant methods
…update-review

Blocks renderer and generator update review
@MihailRis MihailRis marked this pull request as draft November 24, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants