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 MutableQuadViewImpl#fromVanilla methods not setting correct normal flags #4350

Merged

Conversation

PepperCode1
Copy link
Member

  • The (int[], int) overload used to keep the normal flags as is
  • The (BakedQuad, RenderMaterial, Direction) overload used to reset all normal flags
  • The normal flag for a vertex is now set if and only if the normal is not zero, ignoring the W component
  • Clarify that MutableQuadView#fromVanilla(BakedQuad, ...) resets the quad tag

…l flags

- The (int[], int) overload used to keep the normal flags as is
- The (BakedQuad, RenderMaterial, Direction) overload used to reset all normal flags
- The normal flag for a vertex is now set if and only if the normal is not zero, ignoring the W component
- Clarify that MutableQuadView#fromVanilla(BakedQuad, ...) resets the quad tag
@PepperCode1 PepperCode1 added bug Something isn't working indigo Pull requests and issues related to Indigo's implementation of the rendering api small change priority:medium Medium priority PRs that should get reviews labels Jan 5, 2025
@PepperCode1 PepperCode1 requested a review from Technici4n January 5, 2025 04:43
@Technici4n Technici4n requested a review from modmuss50 January 5, 2025 13:17
@modmuss50 modmuss50 added the merge me please Pull requests that are ready to merge label Jan 7, 2025
@modmuss50 modmuss50 merged commit 50f0feb into FabricMC:1.21.4 Jan 7, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working indigo Pull requests and issues related to Indigo's implementation of the rendering api merge me please Pull requests that are ready to merge priority:medium Medium priority PRs that should get reviews small change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants