aboutsummaryrefslogtreecommitdiff
path: root/src/rendering/scene_renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rendering/scene_renderer.h')
-rw-r--r--src/rendering/scene_renderer.h8
1 files changed, 4 insertions, 4 deletions
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<SceneObject>& objects, int selected,