Initial commit
This commit is contained in:
27
src/scene.hpp
Normal file
27
src/scene.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef FAN_SCENE_HPP_
|
||||
#define FAN_SCENE_HPP_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "entity.hpp"
|
||||
#include "light.hpp"
|
||||
|
||||
namespace Fan
|
||||
{
|
||||
|
||||
class Scene
|
||||
{
|
||||
public:
|
||||
LightEnvironment light_environment{};
|
||||
|
||||
void add_entity(const Entity& entity);
|
||||
|
||||
const std::vector<Entity>& get_entities() const;
|
||||
|
||||
private:
|
||||
std::vector<Entity> m_entities{};
|
||||
};
|
||||
|
||||
} // namespace Fan
|
||||
|
||||
#endif // FAN_SCENE_HPP_
|
||||
Reference in New Issue
Block a user