Exemplo n.º 1
0
        private float GetEndAngle()
        {
            var endLine = Line.Create(Points[Points.Length - 1], Points[Points.Length - 2]);

            return(Mathf.Atan2(-endLine.A, endLine.B));
        }
Exemplo n.º 2
0
 public WallSegmentLines(Line inner, Line outer)
 {
     Inner = inner;
     Outer = outer;
 }
Exemplo n.º 3
0
        private float GetStartAngle()
        {
            var startLine = Line.Create(Points[1], Points[0]);

            return(Mathf.Atan2(-startLine.A, startLine.B));
        }