From 260f05025631031b7cc4904805d5017feaf53eda Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 30 Jan 2020 21:11:12 +0100 Subject: initial commit --- src/camera.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/camera.h (limited to 'src/camera.h') diff --git a/src/camera.h b/src/camera.h new file mode 100644 index 0000000..c6e4093 --- /dev/null +++ b/src/camera.h @@ -0,0 +1,19 @@ +/* +* 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); + +#endif \ No newline at end of file -- cgit v1.2.3-70-g09d2