change math library

fixed bug
This commit is contained in:
Perfare
2019-01-03 08:55:43 +08:00
parent 33461e068f
commit e6ed312de2
28 changed files with 2011 additions and 90 deletions

View File

@ -4,8 +4,6 @@ using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using SharpDX;
using RectangleF = System.Drawing.RectangleF;
namespace AssetStudio
{
@ -73,7 +71,7 @@ namespace AssetStudio
{
path.AddPolygon(p);
}
using (var matr = new System.Drawing.Drawing2D.Matrix())
using (var matr = new Matrix())
{
if (m_Sprite.m_Pivot == Vector2.Zero) //5.4.2 down
{