add ambient intensity

This commit is contained in:
Shuo Feng 2024-03-14 19:15:16 -04:00
parent ef5df2fa64
commit 641b62ca01
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1
4 changed files with 13 additions and 2 deletions

View file

@ -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_; }