summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-21 14:51:12 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-21 14:51:12 -0400
commitee2e164fa226ab417cb057821aa1fdfdbca0fa35 (patch)
treef17284cbb8248af71d1ddb01589c6223b4cbe9a8 /include
parentc625992a77c017d31807c00529effbd9cff05f4a (diff)
Demo: Fix cM3dGCyl
Diffstat (limited to 'include')
-rw-r--r--include/SSystem/SComponent/c_m3d_g_cyl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/SSystem/SComponent/c_m3d_g_cyl.h b/include/SSystem/SComponent/c_m3d_g_cyl.h
index 2f5cb12b..d9ce487d 100644
--- a/include/SSystem/SComponent/c_m3d_g_cyl.h
+++ b/include/SSystem/SComponent/c_m3d_g_cyl.h
@@ -25,9 +25,15 @@ public:
cM3dGCyl() {}
cM3dGCyl(const cXyz*, f32, f32);
virtual ~cM3dGCyl() {}
+#if VERSION == VERSION_DEMO
+ void SetC(const cXyz& pos) { mCenter = pos; }
+ void SetH(f32 h) { mHeight = h; }
+ void SetR(f32 r) { mRadius = r; }
+#else
void SetC(const cXyz& pos);
void SetH(f32 h);
void SetR(f32 r);
+#endif
void Set(const cM3dGCylS & src) {
SetC(src.mCenter);
SetR(src.mRadius);