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

Made the material of the hit visible again

parent ba59482e
No related branches found
No related tags found
No related merge requests found
...@@ -18,10 +18,11 @@ class Hit { ...@@ -18,10 +18,11 @@ class Hit {
float scalar() const; float scalar() const;
// Attributes // Attributes
// TODO TexelPos // TODO TexelPos
std::shared_ptr<material::Material> material;
private: private:
util::Vec3 hit, n; util::Vec3 hit, n;
float t; float t;
std::shared_ptr<material::Material> material;
}; };
} // namespace cam } // namespace cam
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