Camera2D
ClassSource: Camera2D.h
Description
2D camera system for managing viewports and scrolling.
Methods
void apply(Renderer& renderer) const
Description:
Applies the camera transformation to a renderer.
Parameters:
renderer: The renderer to apply the camera to.
void setViewportSize(int width, int height)
Description:
Sets the viewport size (usually logical resolution).
Parameters:
width: Viewport width.height: Viewport height.
