hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/scene/scene_types.h
blob: 1cdd7f2db2675d02b4e99b130d06bd13378365c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

#include <glm/glm.hpp>

namespace Donut
{
    constexpr float SCENE_UNITS_PER_RS = 3.0f;

    struct SceneObject
    {
        glm::vec3 position = { 0.0f, 2.0f, 0.0f };
        float     radius   = 2.0f;
        glm::vec3 color    = { 0.85f, 0.35f, 0.2f };
    };

    struct BlackHoleParams
    {
        float disk_inner_rs = 3.0f;
        float disk_outer_rs = 12.0f;
        float temperature   = 4800.0f;
        float brightness    = 0.9f;
        float turbulence    = 0.4f;
        int   quality_steps = 15000;
        float fov_degrees   = 60.0f;
    };
}