mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
parse and write scene
This commit is contained in:
parent
03b6bbbb8e
commit
7d273f9420
3 changed files with 22 additions and 1 deletions
|
@ -1,5 +1,11 @@
|
|||
#include "Scene.h"
|
||||
|
||||
string Scene::getName() { return name; }
|
||||
|
||||
int Scene::getWidth() { return width; }
|
||||
|
||||
int Scene::getHeight() { return height; }
|
||||
|
||||
void Scene::setRaysPerPixel(const Eigen::VectorXi &raysPerPixel) {
|
||||
this->raysPerPixel = raysPerPixel;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue