diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2020-12-21 13:51:18 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2020-12-21 13:51:18 +0100 |
| commit | 56bed8e38f5b6d9effd77371ad781ae71601205b (patch) | |
| tree | 1f57155b8f5b15fd2b33ac7e926e3e5d0ce1754c /src/ray.cpp | |
| parent | 92d66138f53645f3400f633c9821a6fa36f589e0 (diff) | |
Add lambertian and metallic materials
Diffstat (limited to 'src/ray.cpp')
| -rw-r--r-- | src/ray.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ray.cpp b/src/ray.cpp index ebf392b..9a8bd36 100644 --- a/src/ray.cpp +++ b/src/ray.cpp @@ -1,5 +1,8 @@ #include "ray.hpp" +ray::ray() +{} + ray::ray(const point3& origin, const vec3& direction): origin(origin), direction(direction) {} |
