mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
fix cornellbox
This commit is contained in:
parent
c9919e5b03
commit
13fc1a9576
3 changed files with 11 additions and 4 deletions
|
@ -10,6 +10,7 @@ float Geometry::coefDiffuse() const { return kd; }
|
|||
float Geometry::coefSpecular() const { return ks; }
|
||||
float Geometry::coefAmbient() const { return ka; }
|
||||
float Geometry::getPhong() const { return phong; }
|
||||
Geometry::Type Geometry::getType() const { return type; }
|
||||
|
||||
void Geometry::setTransform(const Matrix4f &transform) {
|
||||
this->transform = transform;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue