Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Full Cube mask to mask to blocks that fill an entire cube #2676

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

me4502
Copy link
Member

@me4502 me4502 commented Dec 14, 2024

This adds a mask (#fullcube) that masks to anything that fits the "isFullCube" material property. This is distinct from the solid check, which includes blocks that don't quite fill the cube. Oddly, the solid check includes blocks that fill more than 0.7291666666666666 of the bounds of a block, which means stairs, etc are all included. fullblock would only include blocks that are exactly the bounds of the block.

This PR somewhat ideally needs #2447, which implements this check everywhere.

@me4502 me4502 marked this pull request as ready for review December 18, 2024 10:37
@me4502 me4502 requested a review from a team as a code owner December 18, 2024 10:37
@me4502 me4502 force-pushed the feature/fullcube-mask branch from 5f8eb5d to cb5521b Compare January 3, 2025 04:25
@me4502 me4502 requested review from a team and octylFractal January 3, 2025 04:26
@me4502 me4502 enabled auto-merge (squash) January 3, 2025 04:26
@me4502 me4502 added this to the 7.4.0 milestone Jan 3, 2025
@me4502 me4502 merged commit f608c01 into master Jan 6, 2025
5 checks passed
@me4502 me4502 deleted the feature/fullcube-mask branch January 6, 2025 00:19
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