Exemplo n.º 1
0
        public Polygon(GfxObj gfxObj, ACE.DatLoader.Entity.Polygon polygon)
        {
            GfxObj   = gfxObj;
            _polygon = polygon;

            BuildIndices();

            Texture = gfxObj.Textures[polygon.PosSurface];
        }
Exemplo n.º 2
0
        public Polygon(ACE.DatLoader.Entity.Polygon polygon, Dictionary <Tuple <ushort, ushort>, ushort> uvLookup)
        {
            _polygon = polygon;
            UVLookup = uvLookup;

            BuildIndices();

            BuildIndexBuffer();
        }
Exemplo n.º 3
0
        public Polygon(GfxObj gfxObj, ACE.DatLoader.Entity.Polygon polygon)
        {
            GfxObj   = gfxObj;
            _polygon = polygon;

            UVLookup = GfxObj.UVLookup;

            BuildIndices();
            //BuildIndexBuffer();

            Texture = gfxObj.Textures[polygon.PosSurface];
        }
Exemplo n.º 4
0
 public Polygon(ACE.DatLoader.Entity.Polygon polygon)
 {
     _polygon = polygon;
 }