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

Defined calcLightMulti-func for SurfacePoint

parent bd5f3ef2
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,9 @@ class SurfacePoint {
bool scatter(const util::Vec3& d, const util::Vec3& n) const;
util::Vec3 point() const;
util::Vec3 normal() const;
float calculateLightMultiplier(const util::Vec3& d_in,
const util::Vec3& d_out,
const util::Vec3& n) const;
// Attributes
// TODO TexelPos
std::shared_ptr<material::Material> 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