/* * BSD 2-Clause “Simplified” License * Copyright (c) 2019, Aldrik Ramaekers, aldrik.ramaekers@protonmail.com * All rights reserved. */ #ifndef INCLUDE_CAMERA #define INCLUDE_CAMERA typedef struct t_camera { float32 x; float32 y; float32 rotation; } camera; void _camera_apply_transformations(platform_window *window, camera *camera); vec4 camera_get_target_rectangle(platform_window *window); #endif