flip UVs for profile faces
parent
2ebc4be99d
commit
1e73e16fd0
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue