mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
bugfix: color shadow
This commit is contained in:
parent
43a8204032
commit
a8a00d386e
5 changed files with 19 additions and 9 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
#include <Eigen/Dense>
|
||||
|
||||
Vector3f Geometry::diffuse() const { return cd; }
|
||||
Vector3f Geometry::specular() const { return cs; }
|
||||
Vector3f Geometry::ambient() const { return ca; }
|
||||
|
||||
void Geometry::setTransform(const Matrix4f &transform) {
|
||||
this->transform = transform;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue