write background color

This commit is contained in:
Shuo Feng 2024-02-22 19:49:26 -05:00
parent d808e05449
commit 812317f2ee
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1
3 changed files with 10 additions and 0 deletions

View file

@ -14,6 +14,8 @@ Vector3f Scene::getUpVector() const { return up; }
Vector3f Scene::getLookAt() const { return lookAt; }
Vector3f Scene::getBackgroundColor() const { return backgroundColor; }
void Scene::setRaysPerPixel(const Eigen::VectorXi &raysPerPixel) {
this->raysPerPixel = raysPerPixel;
}