Commit 2db3db0
committed
feat: implement FPS visibility toggle and enhance pathfinding with connector avoidance zones
- Implemented setFpsVisible method in Renderer3D to control stats display visibility
- Added buildConnectorAvoidZones function to create comprehensive avoidance zones around connectors
- Expanded avoidance zones to include shaft centers, access entrances, and corridor paths with sampling
- Enhanced path smoothing with turn penalty weight parameter and layer-specific obstacle filtering1 parent d899ea7 commit 2db3db0
7 files changed
Lines changed: 542 additions & 231 deletions
File tree
- src
- core
- workers/hierarchy
- managers
- renderer3d
- managers
- renderers
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
497 | 501 | | |
498 | 502 | | |
499 | 503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
38 | 87 | | |
39 | 88 | | |
40 | 89 | | |
| |||
49 | 98 | | |
50 | 99 | | |
51 | 100 | | |
| 101 | + | |
52 | 102 | | |
53 | | - | |
| 103 | + | |
54 | 104 | | |
55 | 105 | | |
56 | 106 | | |
| |||
90 | 140 | | |
91 | 141 | | |
92 | 142 | | |
93 | | - | |
| 143 | + | |
94 | 144 | | |
95 | 145 | | |
96 | 146 | | |
| |||
111 | 161 | | |
112 | 162 | | |
113 | 163 | | |
114 | | - | |
| 164 | + | |
115 | 165 | | |
116 | 166 | | |
117 | 167 | | |
| |||
122 | 172 | | |
123 | 173 | | |
124 | 174 | | |
125 | | - | |
| 175 | + | |
126 | 176 | | |
127 | 177 | | |
128 | 178 | | |
| |||
0 commit comments