mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
add ambient intensity
This commit is contained in:
parent
ef5df2fa64
commit
641b62ca01
4 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
#include "Scene.h"
|
||||
|
||||
Scene *Scene::current = nullptr;
|
||||
|
||||
string Scene::name() const { return name_; }
|
||||
|
||||
int Scene::width() { return width_; }
|
||||
|
@ -8,6 +10,8 @@ int Scene::height() { return height_; }
|
|||
|
||||
float Scene::fov() { return fov_; }
|
||||
|
||||
Vector3f Scene::ai() const { return ai_; }
|
||||
|
||||
Vector3f Scene::center() const { return center_; }
|
||||
|
||||
Vector3f Scene::up() const { return up_; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue