3ECHXH2QH5FRHX7PSL2JEFZK2XBRHMXZWLQYNU43SQ5PAY3EKUEQC
// Update
//----------------------------------------------------------------------------------
// Detect if X-button or KEY_ESCAPE have been pressed to close window
if (rl.WindowShouldClose() || rl.IsKeyPressed(rl.KeyboardKey.ESCAPE)) do exitWindowRequested = true
camera.target = rl.Vector2({player.x + 20, player.y + 20})
camera.zoom += f32(rl.GetMouseWheelMove() * 0.05)
if camera.zoom > 3.0 do camera.zoom = 3.0
else if camera.zoom < 0.1 do camera.zoom = 0.1
if rl.IsKeyPressed(rl.KeyboardKey.R) {
camera.zoom = 1.0
camera.rotation = 0.0
}