bugfix: color shadow

This commit is contained in:
Shuo Feng 2024-02-27 23:36:12 -05:00
parent 43a8204032
commit a8a00d386e
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1
5 changed files with 19 additions and 9 deletions

View file

@ -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;
}