Client LuaCsForBarotrauma
MathUtils.cs
1
using
Microsoft.Xna.Framework;
2
using
System.Collections.Generic;
3
4
namespace
Barotrauma
5
{
6
class
CompareSegmentPointCW
: IComparer<Lights.SegmentPoint>
7
{
8
private
Vector2 center;
9
10
public
CompareSegmentPointCW
(Vector2 center)
11
{
12
this.center = center;
13
}
14
public
int
Compare
(Lights.SegmentPoint a, Lights.SegmentPoint b)
15
{
16
return
-CompareCCW.Compare(a.WorldPos, b.WorldPos, center);
17
}
18
}
19
}
Barotrauma.CompareSegmentPointCW
Definition:
MathUtils.cs:7
Barotrauma.CompareSegmentPointCW.CompareSegmentPointCW
CompareSegmentPointCW(Vector2 center)
Definition:
MathUtils.cs:10
Barotrauma.CompareSegmentPointCW.Compare
int Compare(Lights.SegmentPoint a, Lights.SegmentPoint b)
Definition:
MathUtils.cs:14
Barotrauma
Definition:
AchievementManager.cs:12
Barotrauma
BarotraumaClient
ClientSource
Utils
MathUtils.cs
Generated by
1.9.1