From 2883326061ccadc1b21376dc25c92e1d6751d592 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 19 Aug 2012 01:48:36 +0200 Subject: added a tex coord set editor and the beginnings of a Picture tab --- lyt/common.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lyt') 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); + } }; -- cgit v1.2.3