diff options
author | Treeki <treeki@gmail.com> | 2012-08-19 01:48:36 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-08-19 01:48:36 +0200 |
commit | 2883326061ccadc1b21376dc25c92e1d6751d592 (patch) | |
tree | 8488da79605991d1b02a97d3eb78741c47647103 /lyt/common.h | |
parent | 195efe4ebab933bfbba7f7bf06cf4592b865d008 (diff) | |
download | LayoutStudio-2883326061ccadc1b21376dc25c92e1d6751d592.tar.gz LayoutStudio-2883326061ccadc1b21376dc25c92e1d6751d592.zip |
added a tex coord set editor and the beginnings of a Picture tab
Diffstat (limited to '')
-rw-r--r-- | lyt/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lyt/common.h b/lyt/common.h index 49061ce..a343c32 100644 --- a/lyt/common.h +++ b/lyt/common.h @@ -40,6 +40,14 @@ union Version { struct LYTTexCoords { QPointF coord[4]; + + LYTTexCoords() { + // Sane defaults + coord[0] = QPointF(0.0f, 0.0f); + coord[1] = QPointF(1.0f, 0.0f); + coord[2] = QPointF(0.0f, 1.0f); + coord[3] = QPointF(1.0f, 1.0f); + } }; |