summaryrefslogtreecommitdiff
path: root/config/types.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-03-31 01:18:03 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-03-31 18:18:23 +0100
commitc30eda289b5815b6b62799ef986eaf3c462fd72d (patch)
tree186861496bda98ac2d97bdec819125162a090ab0 /config/types.h
parentAdd lunasvg (and plutovg) (diff)
downloadilt-c30eda289b5815b6b62799ef986eaf3c462fd72d.tar.bz2
ilt-c30eda289b5815b6b62799ef986eaf3c462fd72d.tar.xz
ilt-c30eda289b5815b6b62799ef986eaf3c462fd72d.zip
Add SvgIcon class
Based on Icon class, but constructor replaced with calls to lunasvg.
Diffstat (limited to 'config/types.h')
-rw-r--r--config/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/types.h b/config/types.h
index c501f41..06825b5 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 ImageDimensions = glm::vec<2, GLsizei>;
using TextureDimensions = glm::vec<3, GLsizei>;
using TextureRelRegion = glm::vec<4, float>;
using TextureAbsCoord = glm::vec<2, GLsizei>;