summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-09-02 20:46:32 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-09-02 20:46:32 +0100
commit683771aa8f13cab1760a69a47fcbebdf14a5343f (patch)
tree5679622eee3c0fbfd1b1e8b24e8d95d7137f21d6 /config
parentExtend depth of shadow box 10m to allow for depth offsets and clamp stencil t... (diff)
downloadilt-683771aa8f13cab1760a69a47fcbebdf14a5343f.tar.bz2
ilt-683771aa8f13cab1760a69a47fcbebdf14a5343f.tar.xz
ilt-683771aa8f13cab1760a69a47fcbebdf14a5343f.zip
Add TextureDimensions type
Diffstat (limited to 'config')
-rw-r--r--config/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/types.h b/config/types.h
index 081530d..c501f41 100644
--- a/config/types.h
+++ b/config/types.h
@@ -42,6 +42,7 @@ using Normal3D = Normal<3>;
using Rotation2D = Rotation<2>;
using Rotation3D = Rotation<3>;
using TextureRelCoord = glm::vec<2, float>;
+using TextureDimensions = glm::vec<3, GLsizei>;
using TextureRelRegion = glm::vec<4, float>;
using TextureAbsCoord = glm::vec<2, GLsizei>;
using TextureAbsRegion = glm::vec<4, GLsizei>;