hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/engine/scene.h
blob: abe582ebc017b0b160ece013a0da492f4118746e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <vector>
#include <limits>
#include <glm/glm.hpp>

#include "object.h"

namespace Donut
{
    class Scene 
    {
    public:
        std::vector<Object> objs;
        glm::vec3 m_light_pos;

        Scene();
        glm::vec3 trace(Ray &ray);
    };
};