添加 todo

This commit is contained in:
AncTe committed 2023-07-31 17:35:51 +08:00
1 parent 5381d44eab
commit d47ee01b40
2 files changed
+11 -3

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ const shadowCache: Partial<Record<FloorIds, Polygon[]>> = {};
let calMapShadow = true;
export function updateShadow(nocache: boolean = false) {
// 需要优化,优化成bfs
// todo: 需要优化,优化成bfs
const floor = core.status.floorId;
if (!shadowInfo[floor] || !backgroundInfo[floor]) {
removeAllLights();