From a34c49f103c8950a57687ea3d866c244d95b4414 Mon Sep 17 00:00:00 2001 From: hachem Date: Mon, 24 Aug 2026 18:28:39 +0200 Subject: [docs]: added a few comments cause i wont be able to read this in a week's time --- src/rendering/scene_renderer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/rendering/scene_renderer.h') diff --git a/src/rendering/scene_renderer.h b/src/rendering/scene_renderer.h index f7ff992..69ab2bc 100644 --- a/src/rendering/scene_renderer.h +++ b/src/rendering/scene_renderer.h @@ -7,9 +7,9 @@ namespace Donut { - // The world-builder scene view (skybox + lit spheres + reference grid), + // the world-builder scene view (skybox + lit spheres + reference grid), // written ONCE against the RHI so it renders identically on every backend. - // The Application owns the camera, the object list and the HDRI cubemap and + // the Application owns the camera, the object list and the HDRI cubemap and // passes them in each frame; this class owns only the GPU resources (meshes, // pipelines, per-object uniform buffers) and records the draws. struct CameraView @@ -24,10 +24,10 @@ namespace Donut class SceneRenderer { public: - // Builds the grid/sphere/skybox meshes and pipelines on the given device. + // builds the grid/sphere/skybox meshes and pipelines on the given device. auto init(RHI::Device& device) -> bool; - // Records the scene into the currently-open swapchain render pass. `cubemap` + // records the scene into the currently-open swapchain render pass. `cubemap` // is the shared HDRI environment (sphere ambient + skybox background). auto render(RHI::CommandList& cmd, const CameraView& cam, const std::vector& objects, int selected, -- cgit v1.3