diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-10 22:53:07 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-10 22:53:07 +0000 |
commit | a2ae048571310e80ba7502f1d81b5dd2eb1e38fa (patch) | |
tree | dafb85b640fa6628502dac1879e07cd873f7c3c5 /src | |
parent | bd142a328328cdf0cbfbb59e4e0aa99dd51184b8 (diff) |
fix ase texture coordinates
Diffstat (limited to 'src')
-rw-r--r-- | src/model/asefile.cc | 6 |
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++; } |