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

Add alternative color constructors #601

Merged
merged 3 commits into from
May 19, 2020
Merged

Add alternative color constructors #601

merged 3 commits into from
May 19, 2020

Conversation

hollasch
Copy link
Collaborator

Add alternative constructors that take color arguments in addition to
the constructors that take shared_ptr arguments, simplifying
calling code. This applies to the following clases:

  • checker_texture
  • constant_medium
  • diffuse_light
  • lambertian

Resolves #516

Add alternative constructors that take color arguments in addition to
the constructors that take shared_ptr<texture> arguments, simplifying
calling code. This applies to the following clases:

  - checker_texture
  - constant_medium
  - diffuse_light
  - lambertian

Resolves #516
@hollasch hollasch added this to the v3.2.0 milestone May 17, 2020
@hollasch hollasch requested a review from a team May 17, 2020 21:14
@hollasch hollasch self-assigned this May 17, 2020
Copy link
Contributor

@dafhi dafhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't know when i'll get around to testing actual code again, but overall, i'd say this is a win

@hollasch hollasch merged commit f0a3002 into dev-minor May 19, 2020
@hollasch hollasch deleted the feat-516 branch May 19, 2020 07:04
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

Successfully merging this pull request may close these issues.

None yet

2 participants