reformat rt

This commit is contained in:
Shuo Feng 2024-03-14 18:54:57 -04:00
parent 368039b57c
commit 9aaed2d6e8
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1
3 changed files with 41 additions and 41 deletions

View file

@ -1,33 +1,33 @@
#include "Scene.h"
string Scene::getName() const { return name; }
string Scene::name() const { return name_; }
int Scene::getWidth() { return width; }
int Scene::width() { return width_; }
int Scene::getHeight() { return height; }
int Scene::height() { return height_; }
float Scene::getFov() { return fov; }
float Scene::fov() { return fov_; }
Vector3f Scene::getCenter() const { return center; }
Vector3f Scene::center() const { return center_; }
Vector3f Scene::getUpVector() const { return up; }
Vector3f Scene::up() const { return up_; }
Vector3f Scene::getLookAt() const { return lookAt; }
Vector3f Scene::lookAt() const { return lookAt_; }
Vector3f Scene::getBackgroundColor() const { return backgroundColor; }
Vector3f Scene::backgroundColor() const { return bgc_; }
void Scene::setRaysPerPixel(const Eigen::VectorXi &raysPerPixel) {
this->raysPerPixel = raysPerPixel;
this->raysPerPixel_ = raysPerPixel;
}
void Scene::setAntialiasing(bool antialiasing) {
this->antialiasing = antialiasing;
this->antialiasing_ = antialiasing;
}
void Scene::setTwoSideRender(bool twoSideRender) {
this->twoSideRender = twoSideRender;
this->twoSideRender_ = twoSideRender;
}
void Scene::setGlobalIllum(bool globalIllum) {
this->globalIllum = globalIllum;
this->globalIllum_ = globalIllum;
}