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

Make burning work on irregular lookups #828

Open
rafaqz opened this issue Dec 5, 2024 · 0 comments
Open

Make burning work on irregular lookups #828

rafaqz opened this issue Dec 5, 2024 · 0 comments

Comments

@rafaqz
Copy link
Owner

rafaqz commented Dec 5, 2024

This is hard because we cant do regular/fast bresenham line burning and Rasterizing with Y as Int. But, we can flip X/Y so whichever is Irregular can be on the Int axis. Then, we will have to also add a Float64 Edge type for when both are Irregular.

Bresenham alg will need angle calculation for each individual pixel rather than the Int Manhatten. Not all that easy.

Or something.

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

No branches or pull requests

1 participant