public Polygon(GfxObj gfxObj, ACE.DatLoader.Entity.Polygon polygon) { GfxObj = gfxObj; _polygon = polygon; BuildIndices(); Texture = gfxObj.Textures[polygon.PosSurface]; }
public Polygon(ACE.DatLoader.Entity.Polygon polygon, Dictionary <Tuple <ushort, ushort>, ushort> uvLookup) { _polygon = polygon; UVLookup = uvLookup; BuildIndices(); BuildIndexBuffer(); }
public Polygon(GfxObj gfxObj, ACE.DatLoader.Entity.Polygon polygon) { GfxObj = gfxObj; _polygon = polygon; UVLookup = GfxObj.UVLookup; BuildIndices(); //BuildIndexBuffer(); Texture = gfxObj.Textures[polygon.PosSurface]; }
public Polygon(ACE.DatLoader.Entity.Polygon polygon) { _polygon = polygon; }