mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
impl ray casted render
This commit is contained in:
parent
ed42a0f9ca
commit
29c5fe91d9
5 changed files with 44 additions and 5 deletions
|
@ -6,6 +6,14 @@ int Scene::getWidth() { return width; }
|
|||
|
||||
int Scene::getHeight() { return height; }
|
||||
|
||||
float Scene::getFov() { return fov; }
|
||||
|
||||
Vector3f Scene::getCenter() const { return center; }
|
||||
|
||||
Vector3f Scene::getUpVector() const { return up; }
|
||||
|
||||
Vector3f Scene::getLookAt() const { return lookAt; }
|
||||
|
||||
void Scene::setRaysPerPixel(const Eigen::VectorXi &raysPerPixel) {
|
||||
this->raysPerPixel = raysPerPixel;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue