diff options
| author | hachem <im@hachem.wtf> | 2026-08-24 18:28:39 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-24 18:28:39 +0200 |
| commit | a34c49f103c8950a57687ea3d866c244d95b4414 (patch) | |
| tree | ff268f4a7f52769a252443d6f2822c9814e3bb1c /src/scene/scene_types.h | |
| parent | 06398a7a176e123506de6e8851866a8bec0b3427 (diff) | |
[docs]: added a few comments cause i wont be able to read this in a week's time
Diffstat (limited to 'src/scene/scene_types.h')
| -rw-r--r-- | src/scene/scene_types.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/scene/scene_types.h b/src/scene/scene_types.h index 61bea35..9ca3276 100644 --- a/src/scene/scene_types.h +++ b/src/scene/scene_types.h @@ -4,17 +4,17 @@ namespace Donut { - // Backend-agnostic scene/black-hole data shared by the Application and the - // portable renderers (SceneRenderer, BlackHoleRenderer). The rendering itself + // backend-agnostic scene/black-hole data shared by the Application and the + // portable renderers (SceneRenderer, BlackHoleRenderer). the rendering itself // is written once on the RHI (rendering/rhi.h); these are just the inputs. - // The scene editor and the simulation share ONE world at this scale: this many - // grid units == one Schwarzschild radius. The SceneRenderer draws the hole's + // the scene editor and the simulation share ONE world at this scale: this many + // grid units == one Schwarzschild radius. the SceneRenderer draws the hole's // horizon at this radius; the BlackHoleRenderer maps scene positions into // physical units (x SagA_rs / SCENE_UNITS_PER_RS) so placed objects line up. constexpr float SCENE_UNITS_PER_RS = 3.0f; - // A placeable/editable sphere in the world-builder scene view. The app owns + // a placeable/editable sphere in the world-builder scene view. the app owns // the list; SceneRenderer draws it the same way on every backend. struct SceneObject { @@ -23,7 +23,7 @@ namespace Donut glm::vec3 color = { 0.85f, 0.35f, 0.2f }; }; - // Live-tunable black-hole / accretion-disk parameters. Radii are in + // live-tunable black-hole / accretion-disk parameters. radii are in // Schwarzschild radii; the inner edge is clamped to the ISCO (3 r_s). struct BlackHoleParams { |
