World-space boundary constraint.
Camera center position.
Camera rotation in radians.
Viewport size in pixels.
Camera zoom level.
Push the camera transform onto the renderer. Call before drawing world objects.
Create a deep copy of this camera.
Pop the camera transform. Call after drawing world objects.
Trigger a screen shake with the given pixel intensity (lasts 0.25s).
Stop following the current target.
Advance follow, shake, and bounds clamping by dt seconds.
2D camera with follow, deadzone, shake, and world-bounds clamping.