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
This commit is contained in:
parent
2a0fe34611
commit
dbc522a224
2105 changed files with 7033 additions and 1141 deletions
|
|
@ -1,24 +0,0 @@
|
|||
using System.Diagnostics;
|
||||
|
||||
namespace Microsoft.Msagl.Routing.ConstrainedDelaunayTriangulation {
|
||||
internal class CdtFrontElement {
|
||||
//The LeftSite should coincide with the leftmost end of the Edge, and the edge should not be vertical
|
||||
|
||||
internal CdtSite LeftSite;
|
||||
internal CdtEdge Edge;
|
||||
internal CdtSite RightSite;
|
||||
|
||||
internal double X {
|
||||
get { return LeftSite.Point.X; }
|
||||
}
|
||||
|
||||
internal CdtFrontElement(CdtSite leftSite, CdtEdge edge) {
|
||||
Debug.Assert(edge.upperSite.Point.X != edge.lowerSite.Point.X &&
|
||||
edge.upperSite.Point.X < edge.lowerSite.Point.X && leftSite == edge.upperSite ||
|
||||
edge.upperSite.Point.X > edge.lowerSite.Point.X && leftSite == edge.lowerSite);
|
||||
RightSite = edge.upperSite == leftSite ? edge.lowerSite : edge.upperSite;
|
||||
LeftSite = leftSite;
|
||||
Edge = edge;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue