aboutsummaryrefslogtreecommitdiff
path: root/src/scene/scene.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-23 22:39:47 +0200
committerhachem <im@hachem.wtf>2026-08-23 22:39:47 +0200
commit90ff03c2fdffc09ddb26bdc7e32c3968a6d274fb (patch)
tree2fdb1b6f54c4e380af43c75f1051935587a87faa /src/scene/scene.h
parent5ea6c14c0e14bacee766ce1280ab2c71564e05ec (diff)
[feat]: wire in scene into the simulation engine
Diffstat (limited to 'src/scene/scene.h')
-rw-r--r--src/scene/scene.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scene/scene.h b/src/scene/scene.h
index 27d1327..23d884f 100644
--- a/src/scene/scene.h
+++ b/src/scene/scene.h
@@ -17,8 +17,9 @@ namespace Donut
public:
Scene();
- // world-builder content
- std::vector<SceneObject> objects{ SceneObject{} };
+ // world-builder content. The default object orbits clear of the hole at the
+ // origin (positions are in Schwarzschild radii; see BH_SCENE_RADIUS).
+ std::vector<SceneObject> objects{ SceneObject{ { 18.0f, 6.0f, 0.0f }, 2.0f, { 0.85f, 0.35f, 0.2f } } };
int selected_object = 0;
// black hole / accretion disk