Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-10 22:53:07 +0000
committerStijn Buys <ingar@osirion.org>2009-08-10 22:53:07 +0000
commita2ae048571310e80ba7502f1d81b5dd2eb1e38fa (patch)
treedafb85b640fa6628502dac1879e07cd873f7c3c5 /src/model
parentbd142a328328cdf0cbfbb59e4e0aa99dd51184b8 (diff)
fix ase texture coordinates
Diffstat (limited to 'src/model')
-rw-r--r--src/model/asefile.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model/asefile.cc b/src/model/asefile.cc
index f4f3342..22fcd78 100644
--- a/src/model/asefile.cc
+++ b/src/model/asefile.cc
@@ -271,11 +271,11 @@ size_t count = 0;
math::Vector3f *t2 = ase_tvertexlist[c];
if (triangle) {
if (t0)
- triangle->t0().assign(t0->x, t0->y);
+ triangle->t0().assign(t0->x, 1.0f - t0->y);
if (t1)
- triangle->t1().assign(t1->x, t1->y);
+ triangle->t1().assign(t1->x, 1.0f - t1->y);
if (t2)
- triangle->t2().assign(t2->x, t2->y);
+ triangle->t2().assign(t2->x, 1.0f - t2->y);
}
count++;
}