flip UVs for profile faces

slimupdates
dahlia 2010-03-13 18:41:36 -08:00
parent 2ebc4be99d
commit 1e73e16fd0
1 changed files with 1 additions and 1 deletions

View File

@ -1020,7 +1020,7 @@ namespace PrimMesher
{ {
this.faceUVs = new List<UVCoord>(); this.faceUVs = new List<UVCoord>();
foreach (Coord c in this.coords) foreach (Coord c in this.coords)
this.faceUVs.Add(new UVCoord(1.0f - (0.5f + c.X), 1.0f - (0.5f - c.Y))); this.faceUVs.Add(new UVCoord(0.5f + c.X, 0.5f - c.Y));
} }
internal Profile Copy() internal Profile Copy()