mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
Add light visualization (requires custom models)
This commit is contained in:
@@ -543,8 +543,15 @@ void CStateManager::DrawDebugStuff() const {
|
||||
if (CPathFindSearch* path = ai->GetSearchPath()) {
|
||||
path->DebugDraw();
|
||||
}
|
||||
} else if (const TCastToPtr<CGameLight> light = ent) {
|
||||
light->DebugDraw();
|
||||
}
|
||||
}
|
||||
|
||||
auto* gameArea = x850_world->GetArea(x850_world->GetCurrentAreaId());
|
||||
if (gameArea != nullptr) {
|
||||
gameArea->DebugDraw();
|
||||
}
|
||||
if (xf70_currentMaze) {
|
||||
xf70_currentMaze->DebugRender();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user