Skip to content

Commit

Permalink
fix(engine): remove unnecessary namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenatlas committed Sep 26, 2023
1 parent 4b396e9 commit 376ba1d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion engine/include/cubos/engine/renderer/camera.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ namespace cubos::engine
float zNear; ///< Near clipping plane.
float zFar; ///< Far clipping plane.
};
} // namespace cubos::engine
} // namespace cubos::engine
2 changes: 1 addition & 1 deletion engine/include/cubos/engine/renderer/deferred_renderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace cubos::engine
// Implement interface methods.

void onResize(glm::uvec2 size) override;
void onRender(const glm::mat4& view, const Viewport& viewport, const engine::Camera& camera, const RendererFrame& frame,
void onRender(const glm::mat4& view, const Viewport& viewport, const Camera& camera, const RendererFrame& frame,
core::gl::Framebuffer target) override;

private:
Expand Down
2 changes: 1 addition & 1 deletion engine/include/cubos/engine/renderer/renderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ namespace cubos::engine
/// @param camera Camera to use.
/// @param frame Frame to draw.
/// @param target Target framebuffer.
virtual void onRender(const glm::mat4& view, const Viewport& viewport, const engine::Camera& camera, const RendererFrame& frame,
virtual void onRender(const glm::mat4& view, const Viewport& viewport, const Camera& camera, const RendererFrame& frame,
core::gl::Framebuffer target) = 0;

private:
Expand Down
2 changes: 1 addition & 1 deletion engine/src/cubos/engine/renderer/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static void splitViewport(glm::ivec2 position, glm::ivec2 size, int count, Viewp
static void draw(Write<Renderer> renderer, Read<ActiveCameras> activeCameras, Write<RendererFrame> frame,
Query<Read<LocalToWorld>, Read<Camera>> query)
{
cubos::engine::Camera cameras[4]{};
Camera cameras[4]{};
glm::mat4 views[4]{};
Viewport viewports[4]{};

Expand Down

0 comments on commit 376ba1d

Please sign in to comment.