The LocalBoundary class stores segments and polygon indices for temporary use.
Beispiel #1
0
 public Agent()
 {
     active    = false;
     corridor  = new PathCorridor();
     boundary  = new LocalBoundary();
     neighbors = new CrowdNeighbor[AgentMaxNeighbors];
     Corners   = new StraightPath();
 }
Beispiel #2
0
 public Agent(int maxPath)
 {
     active      = false;
     corridor    = new PathCorridor(maxPath);
     boundary    = new LocalBoundary();
     neighbors   = new CrowdNeighbor[AgentMaxNeighbors];
     CornerVerts = new Vector3[AgentMaxCorners];
     CornerFlags = new int[AgentMaxCorners];
     CornerPolys = new PolyId[AgentMaxCorners];
 }