summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorSergey Dubitskiy <sergey.dubitskiy@nokia.com>2012-01-25 11:07:05 +1000
committerDanny Pope <daniel.pope@nokia.com>2012-02-01 03:25:17 +0100
commit42f09ac510d4f6d6f5641c9e1dc6fc5d87fe9c9f (patch)
tree07c8109fe40585160080df6d4f028fbbea5507b4 /src/imports
parent637c6004b46cd5ae68b5ec9b62df0e9480289e80 (diff)
QTBUG-20443. Fixed Quad and Cube sizes and texcoords.
Task-number: QTBUG-20443 Change-Id: Ief0b15f8ca07104936c2bf64f764e50b10a7e89c Reviewed-by: Danny Pope <daniel.pope@nokia.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/shapes/cube.obj8
-rw-r--r--src/imports/shapes/quad.obj10
2 files changed, 9 insertions, 9 deletions
diff --git a/src/imports/shapes/cube.obj b/src/imports/shapes/cube.obj
index 03bded06d..7e0c3e0af 100644
--- a/src/imports/shapes/cube.obj
+++ b/src/imports/shapes/cube.obj
@@ -17,9 +17,9 @@ vt 1.0 0.0
vt 1.0 1.0
vt 0.0 1.0
vt 0.0 0.0
-f 1/1/1 2/2/1 3/3/1 4/4/1
-f 4/1/2 3/2/2 7/3/2 8/4/2
-f 8/1/3 7/2/3 6/3/3 5/4/3
+f 1/4/1 2/1/1 3/2/1 4/3/1
+f 4/3/2 3/4/2 7/1/2 8/2/2
+f 8/2/3 7/3/3 6/4/3 5/1/3
f 5/1/4 6/2/4 2/3/4 1/4/4
f 6/1/5 7/2/5 3/3/5 2/4/5
-f 8/1/6 5/2/6 1/3/6 4/4/6
+f 8/3/6 5/4/6 1/1/6 4/2/6
diff --git a/src/imports/shapes/quad.obj b/src/imports/shapes/quad.obj
index 7ee54359a..a28dee25d 100644
--- a/src/imports/shapes/quad.obj
+++ b/src/imports/shapes/quad.obj
@@ -1,12 +1,12 @@
o Plane
-v 1.000000 -0.000000 -1.000000
-v 1.000000 0.000000 1.000000
-v -1.000000 0.000000 1.000000
-v -1.000000 -0.000000 -1.000000
+v 0.500000 0.000000 -0.500000
+v 0.500000 0.000000 0.500000
+v -0.500000 0.000000 0.500000
+v -0.500000 0.000000 -0.500000
vt 1.000000 0.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 0.000000 0.000000
usemtl (null)
s off
-f 1/1 4/4 3/3 2/2
+f 1/2 4/3 3/4 2/1