Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Allow callers to choose axies for GreedyQuadsBuffer #18

Closed
malmz opened this issue Mar 8, 2021 · 1 comment
Closed

Allow callers to choose axies for GreedyQuadsBuffer #18

malmz opened this issue Mar 8, 2021 · 1 comment

Comments

@malmz
Copy link
Contributor

malmz commented Mar 8, 2021

Add a constructor to GreedyQuadsBuffer to allow for custom Axis3Permutation

@bonsairobo
Copy link
Owner

I've refactored the greedy quads code a bit to handle this. Now you can pass in any set of QuadGroups you want with GreedyQuadsBuffer::new_with_quad_groups. To get something that works when the +Y axis point UP, use GreedyQuadsBuffer::new_with_y_up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants