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 it easier to make patterns #10

Open
sraaphorst opened this issue Dec 7, 2018 · 0 comments
Open

Make it easier to make patterns #10

sraaphorst opened this issue Dec 7, 2018 · 0 comments

Comments

@sraaphorst
Copy link
Owner

sraaphorst commented Dec 7, 2018

Right now, you have to do:

auto pattern = std::make_shared<PatternType>(params);
auto material = std::make_shared<Material>(pattern);

This could all be one much easier step as this is how it is always used:

auto material = PatternType::createPattern(params);
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