aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/RenderSystem.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-20 19:21:46 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-20 19:21:46 +0100
commit700892e9a2801902da31835c0069ae27da54cf4c (patch)
treee295850cd73afddc70ebd0d3c1937770a7720cfe /src/crepe/system/RenderSystem.h
parent6b891f012828bfb780476ab0e757105ffdbfa15b (diff)
implemented feedback
Diffstat (limited to 'src/crepe/system/RenderSystem.h')
-rw-r--r--src/crepe/system/RenderSystem.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/crepe/system/RenderSystem.h b/src/crepe/system/RenderSystem.h
index 1a11d5b..5a2af17 100644
--- a/src/crepe/system/RenderSystem.h
+++ b/src/crepe/system/RenderSystem.h
@@ -31,16 +31,16 @@ public:
private:
//! Clears the screen in preparation for rendering.
- void clear_screen() const;
+ void clear_screen() ;
//! Presents the rendered frame to the display.
- void present_screen() const;
+ void present_screen() ;
//! Updates the active camera used for rendering.
void update_camera();
//! Renders the whole screen
- void render() const;
+ void render();
/**
* \brief Renders all the particles on the screen from a given sprite.
@@ -49,7 +49,7 @@ private:
* \param tm the Transform component for scale
* \return true if particles have been rendered
*/
- bool render_particle(const Sprite & sprite, const double & scale) const;
+ bool render_particle(const Sprite & sprite, const double & scale);
/**
* \brief renders a sprite with a Transform component on the screen
@@ -57,7 +57,7 @@ private:
* \param sprite the sprite component that holds all the data
* \param tm the Transform component that holds the position,rotation and scale
*/
- void render_normal(const Sprite & sprite, const Transform & tm) const;
+ void render_normal(const Sprite & sprite, const Transform & tm);
/**
* \brief sort a vector sprite objects with