Skip to content
Snippets Groups Projects
Commit 87f42d1f authored by Yoel's avatar Yoel
Browse files

Switched out public and private properties for consistency

parent 696cd7bd
No related branches found
No related tags found
No related merge requests found
...@@ -5,12 +5,11 @@ ...@@ -5,12 +5,11 @@
namespace material { namespace material {
class Constant : public util::Sampler { class Constant : public util::Sampler {
private:
const util::Vec3 albedo;
public: public:
Constant(const util::Vec3& albedo); Constant(const util::Vec3& albedo);
util::Vec3 color(float x, float y) const override; util::Vec3 color(float x, float y) const override;
private:
const util::Vec3 albedo;
}; };
} // namespace material } // namespace material
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment