Aetheria/Assets/Plugins/MSAGL/Routing/Spline/Bundling/StationEdgeInfo.cs
Reinier Vens dbc522a224 Weapos Rejiggered
Modified weapon scripts to eliminate specialized projectile behavior - allows charged weapons to have projectiles and modify weapon stats when charged
Added machine gun weapon & VFX
Moved third party code to Plugins folder to improve compile times
2021-01-31 03:52:32 +00:00

27 lines
No EOL
710 B
C#

using System.Collections.Generic;
using Microsoft.Msagl.Core.Geometry;
using Microsoft.Msagl.Core.Geometry.Curves;
namespace Microsoft.Msagl.Routing.Spline.Bundling {
internal class StationEdgeInfo {
internal StationEdgeInfo(Point iPos, Point jPos) {
var dir = jPos - iPos;
var length = dir.Length;
if (length > ApproximateComparer.DistanceEpsilon)
dir /= length;
}
internal int Count;
internal double Width;
internal List<Metroline> Metrolines = new List<Metroline>();
#region cache
internal double cachedBundleCost;
//internal Polyline cachedBoundary;
#endregion
}
}