mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
modify name getter
This commit is contained in:
parent
77533a8ca0
commit
2f7a9f4cbd
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#include "Scene.h"
|
#include "Scene.h"
|
||||||
|
|
||||||
string Scene::getName() { return name; }
|
string Scene::getName() const { return name; }
|
||||||
|
|
||||||
int Scene::getWidth() { return width; }
|
int Scene::getWidth() { return width; }
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ private:
|
||||||
bool globalIllum = false;
|
bool globalIllum = false;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
string getName();
|
string getName() const;
|
||||||
int getWidth();
|
int getWidth();
|
||||||
int getHeight();
|
int getHeight();
|
||||||
void setRaysPerPixel(const Eigen::VectorXi &);
|
void setRaysPerPixel(const Eigen::VectorXi &);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue