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

Fix voxel picking spec #11963

Merged
merged 1 commit into from
May 1, 2024
Merged

Fix voxel picking spec #11963

merged 1 commit into from
May 1, 2024

Conversation

jjhembd
Copy link
Contributor

@jjhembd jjhembd commented Apr 30, 2024

Description

The test of Scene.pickVoxel in PickingSpec was failing due to the voxel being out of view.

This PR switches the spec to the box-shaped tileset for simplicity, and adjusts the model matrix to ensure the voxel is within view.

Issue number and link

Resolves #11916

Testing plan

Run PickingSpec locally. Note: local testing is necessary, because this spec does not run in CI. The webGL stub used in CI triggers a dummy matcher for picking specs, which always passes.

Author checklist

  • I have submitted a Contributor License Agreement
  • I have added my name to CONTRIBUTORS.md
  • I have updated CHANGES.md with a short summary of my change
  • I have added or updated unit tests to ensure consistent code coverage
  • I have update the inline documentation, and included code examples where relevant
  • I have performed a self-review of my code

Copy link

Thank you for the pull request, @jjhembd!

✅ We can confirm we have a CLA on file for you.

@ggetz
Copy link
Contributor

ggetz commented May 1, 2024

This is fixed for me! Thanks @jjhembd!

@ggetz ggetz merged commit c498a01 into main May 1, 2024
10 checks passed
@ggetz ggetz deleted the voxel-spec-fix branch May 1, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure in VoxelPrimitive
2 participants