Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
My intention for voxel clipping was to make it work based on voxel centers. I didn't bother with that in CairoMakie initially, but updated it in #4319 since mesh based clipping started looked pretty bad. After that there was still some discrepancy between the GL backends and CairoMakie. Turns out I was using voxel origins instead of centers. This pr fixes that and pulls in the CairoMakie changes. It also adjusts the test to avoid voxel centers sitting directly on the clipping plane, since that results in float precision based differences between backends.
This should make the voxel clip plane test fail, but be consistent between all backends.
Type of change
Checklist