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

Changed scatter function to depend on incoming dir and n

parent 98299405
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ class SurfacePoint { ...@@ -12,7 +12,7 @@ class SurfacePoint {
cam::Ray scattered_ray(const cam::Ray& inc_ray) const; cam::Ray scattered_ray(const cam::Ray& inc_ray) const;
util::Vec3 albedo() const; // TODO TexelPos util::Vec3 albedo() const; // TODO TexelPos
util::Vec3 emission() const; // TODO TexelPos util::Vec3 emission() const; // TODO TexelPos
bool scatter() const; bool scatter(const util::Vec3& d, const util::Vec3& n) const;
util::Vec3 point() const; util::Vec3 point() const;
util::Vec3 normal() const; util::Vec3 normal() const;
// Attributes // Attributes
......
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