Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Extending Schemes #91

Open
Checkmate50 opened this issue Apr 12, 2020 · 0 comments
Open

Extending Schemes #91

Checkmate50 opened this issue Apr 12, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Checkmate50
Copy link
Contributor

I find myself occasionally wanting to extend a coordinate scheme with a new type that doesn't really fit in the core library. For example, when writing microfacet, I really want the type halfdir is direction to keep track of my half-directions and make sure I'm calling the updating function.

I'm imagining something like: extend cart3 with type halfdir is direction;. This sort of command could lead to spaghetti code if misused, so maybe highlighting the extend keyword red or preventing it from being imported or something makes sense.

@Checkmate50 Checkmate50 added the enhancement New feature or request label Apr 12, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant