aboutsummaryrefslogtreecommitdiff
path: root/sdl2/rect.ha
diff options
context:
space:
mode:
Diffstat (limited to 'sdl2/rect.ha')
-rw-r--r--sdl2/rect.ha29
1 files changed, 0 insertions, 29 deletions
diff --git a/sdl2/rect.ha b/sdl2/rect.ha
deleted file mode 100644
index 012088e..0000000
--- a/sdl2/rect.ha
+++ /dev/null
@@ -1,29 +0,0 @@
-// TODO: Flesh me out
-
-// The structure that defines a point (integer)
-export type SDL_Point = struct {
- x: int,
- y: int,
-};
-
-// The structure that defines a point (floating point)
-export type SDL_FPoint = struct {
- x: f32,
- y: f32,
-};
-
-// A rectangle, with the origin at the upper left (integer).
-export type SDL_Rect = struct {
- x: int,
- y: int,
- w: int,
- h: int,
-};
-
-// A rectangle, with the origin at the upper left (floating point).
-export type SDL_FRect = struct {
- x: f32,
- y: f32,
- w: f32,
- h: f32,
-};