blob: d64a46bf0aa05f5bd1311eaae70482cb9a27b8c0 (
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
|
#pragma once
#include <glm/glm.hpp>
namespace Donut
{
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;
};
}
|