Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
Perfare committed Oct 27, 2018
1 parent 631e5f5 commit 7e2a571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AzurLaneLive2DExtract/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ static void Main(string[] args)
json.Curves[i].Segments.Add(curve.value);
totalPointCount += 1;
}
else if (preCurve.outSlope == 0f && Math.Abs(curve.inSlope) < 0.0001f) //LinearSegment
/*else if (preCurve.outSlope == 0f && Math.Abs(curve.inSlope) < 0.0001f) //LinearSegment
{
json.Curves[i].Segments.Add(0f);
json.Curves[i].Segments.Add(curve.time);
json.Curves[i].Segments.Add(curve.value);
totalPointCount += 1;
}
}*/
else //BezierSegment
{
var tangentLength = (curve.time - preCurve.time) / 3f;
Expand Down

0 comments on commit 7e2a571

Please sign in to comment.