summaryrefslogtreecommitdiff
path: root/src
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 /src
parentc625992a77c017d31807c00529effbd9cff05f4a (diff)
Demo: Fix cM3dGCyl
Diffstat (limited to 'src')
-rw-r--r--src/SSystem/SComponent/c_m3d_g_cyl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SSystem/SComponent/c_m3d_g_cyl.cpp b/src/SSystem/SComponent/c_m3d_g_cyl.cpp
index 259c5e56..fcc9b103 100644
--- a/src/SSystem/SComponent/c_m3d_g_cyl.cpp
+++ b/src/SSystem/SComponent/c_m3d_g_cyl.cpp
@@ -11,6 +11,7 @@
#define CHECK_FLOAT_RANGE(line, x) JUT_ASSERT(line, -1.0e32f < x && x < 1.0e32f);
#define CHECK_VEC3_RANGE(line, v) JUT_ASSERT(line, -1.0e32f < v.x && v.x < 1.0e32f && -1.0e32f < v.y && v.y < 1.0e32f && -1.0e32f < v.z && v.z < 1.0e32f)
+#if VERSION > VERSION_DEMO
/* 80251D88-80252020 .text SetC__8cM3dGCylFRC4cXyz */
void cM3dGCyl::SetC(const cXyz& pos) {
CHECK_FLOAT_CLASS(21, pos.x);
@@ -33,6 +34,7 @@ void cM3dGCyl::SetR(f32 r) {
CHECK_FLOAT_RANGE(49, r);
mRadius = r;
}
+#endif
/* 80252278-8025229C .text cross__8cM3dGCylCFPC8cM3dGSphP4cXyz */
bool cM3dGCyl::cross(const cM3dGSph* pOther, cXyz* pOut) const {