From 6cd00aacfa22fed6a54a9b812f6b069ad16feec0 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sun, 29 Jun 2025 22:24:42 +0500 Subject: Move game sources into src subdirectory --- src/core/image.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/core/image.hh (limited to 'src/core/image.hh') diff --git a/src/core/image.hh b/src/core/image.hh new file mode 100644 index 0000000..92d99be --- /dev/null +++ b/src/core/image.hh @@ -0,0 +1,13 @@ +#ifndef CORE_IMAGE_HH +#define CORE_IMAGE_HH 1 +#pragma once + +constexpr static unsigned int IMAGE_LOAD_GRAY = 0x0001U; +constexpr static unsigned int IMAGE_LOAD_FLIP = 0x0002U; + +struct Image final { + stbi_uc* pixels; + glm::ivec2 size; +}; + +#endif /* CORE_IMAGE_HH */ -- cgit