public VisibilityComputer(Vector2 origin, float radius)
        {
            _segments       = new List <Segment>();
            _endpoints      = new List <EndPoint>();
            _radialComparer = new EndPointComparer();

            this._origin = origin;
            this._radius = radius;
            loadBoundaries();
        }
示例#2
0
 public VisibilityComputer()
 {
     _radialComparer = new EndPointComparer();
 }