diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-20 13:25:44 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-20 13:25:44 +0100 |
commit | 158022890cb9abd308a6a445588cc2fca8d84e67 (patch) | |
tree | d682733dce1bb1240a64b5f8f20ea5af7b03432c /src/crepe/facade/SDLContext.h | |
parent | 52e84ca0a81210cd1dc61e096c228586649c9bfc (diff) |
implementing feedback
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r-- | src/crepe/facade/SDLContext.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index fb09015..287ad5d 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -125,6 +125,7 @@ private: * \param camera Reference to the Camera for view adjustments. */ void draw(const Sprite & sprite, const Transform & transform, const Camera & camera); + void draw_particle(const Sprite & sprite, const Vector2 & pos, const double & angle, const double & scale, const Camera & camera); //! Clears the screen, preparing for a new frame. @@ -134,10 +135,10 @@ private: void present_screen(); /** - * \brief Sets the current camera for rendering. + * \brief sets the background of the camera (will be adjusted in future PR) * \param camera Reference to the Camera object. */ - void camera(const Camera & camera); + void set_camera(const Camera & camera); private: /** |