summaryrefslogtreecommitdiff
path: root/src/d/d_bg_s.cpp
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2026-01-08 16:53:40 +0200
committerGitHub <noreply@github.com>2026-01-08 07:53:40 -0700
commit2d4a8ee46a04ad49313f35c9062f8194de36deb2 (patch)
tree38ad1ae296aa9d245773e23de668ce2a7fa6d27b /src/d/d_bg_s.cpp
parent0e7b42e9ea78e960647ce25528cf7b65a6ddfc9d (diff)
Work on d_debug_camera (#3024)
Diffstat (limited to 'src/d/d_bg_s.cpp')
-rw-r--r--src/d/d_bg_s.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/d/d_bg_s.cpp b/src/d/d_bg_s.cpp
index 256f343ca3..190e2badc9 100644
--- a/src/d/d_bg_s.cpp
+++ b/src/d/d_bg_s.cpp
@@ -789,6 +789,17 @@ fopAc_ac_c* dBgS::PushPullCallBack(cBgS_PolyInfo const& param_0, fopAc_ac_c* i_p
i_label);
}
+#if DEBUG
+
+void dBgS::DrawPoly(cBgS_PolyInfo const& polyInfo, GXColor const& color) {
+ dBgW_Base* pdBgw = dComIfG_Bgsp().GetBgWBasePointer(polyInfo);
+ if (pdBgw != NULL) {
+ pdBgw->DrawPoly(polyInfo, color);
+ }
+}
+
+#endif
+
bool dBgS_CheckBWallPoly(cBgS_PolyInfo const& poly) {
cM3dGPla pla;