From ee2e164fa226ab417cb057821aa1fdfdbca0fa35 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Wed, 21 May 2025 14:51:12 -0400 Subject: Demo: Fix cM3dGCyl --- include/SSystem/SComponent/c_m3d_g_cyl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/SSystem') 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); -- cgit v1.2.3