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

Added unit test for bounding sphere updates on text geometry changes #5312

Merged
merged 3 commits into from
Jul 5, 2023

Conversation

mrxz
Copy link
Contributor

@mrxz mrxz commented Jun 16, 2023

Description:
As described in #5311 the bounding sphere of the text geometry wasn't being recomputed when the geometry changed. This could lead to incorrect frustum culling. The actual fix should be inside three-bmfont-text, but this PR serves to both bump that dependency and introducing a unit test to avoid regressions.

Marked draft as the dependency now points to a fork until dmarcos/three-bmfont-text#2 is merged (or an alternative fix)

Changes proposed:

  • Change the three-bmfont-text version in package.json to one including a fix
  • Introduce a unit test verifying that changing the text geometry recomputes the bounding sphere

@dmarcos
Copy link
Member

dmarcos commented Jul 5, 2023

Thanks so much for this. I just merged the changes and moved the dependency back.

@dmarcos dmarcos merged commit e8b7e43 into aframevr:master Jul 5, 2023
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.

2 participants