diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-08-22 22:58:03 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-08-22 22:58:03 +0200 |
| commit | d071fc5c947689eca7726803a420013c519acdd9 (patch) | |
| tree | 4d96af4d9725bcdf2741cb73181d49a8fe5d5682 /include/sphere.hpp | |
| parent | 7db04c9ae57b087f1d122d67a75fa02563911796 (diff) | |
Refactored diffuse brdf & brdf computation done in tangent
Diffstat (limited to 'include/sphere.hpp')
| -rw-r--r-- | include/sphere.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/sphere.hpp b/include/sphere.hpp index 28bb0bc..3a29207 100644 --- a/include/sphere.hpp +++ b/include/sphere.hpp @@ -7,16 +7,13 @@ struct sphere { sphere() = default; sphere(point3 center, material material, float radius) - : center(center), radius(radius), mat(material), - bounding_box(center, radius) + : center(center), radius(radius), mat(material) {} point3 center; material mat; - aabb bounding_box; - float radius; float padding[3]; }; |
