summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-10-13 02:03:49 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-10-13 02:03:49 -0400
commitf99fcde4f1092bfe00472becbf9eb70b459c370f (patch)
treedbbb6b5b669ab587a52dc87afe90acdee971c6af /include/SSystem/SComponent
parent733c274260bcfd0056d9c79b268f8d8c229d9b56 (diff)
d_a_obj_hcbh OK for demo, use res enums
Diffstat (limited to 'include/SSystem/SComponent')
-rw-r--r--include/SSystem/SComponent/c_m3d_g_sph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/SSystem/SComponent/c_m3d_g_sph.h b/include/SSystem/SComponent/c_m3d_g_sph.h
index 9d8403f0..5972e033 100644
--- a/include/SSystem/SComponent/c_m3d_g_sph.h
+++ b/include/SSystem/SComponent/c_m3d_g_sph.h
@@ -23,11 +23,12 @@ public:
#if VERSION == VERSION_DEMO
void SetC(const cXyz& p) { mCenter = p; }
void SetR(f32 r) { mRadius = r; }
+ void SetC(f32 x, f32 y, f32 z) { mCenter.x = x; mCenter.y = y; mCenter.z = z; }
#else
void SetC(const cXyz& p);
void SetR(f32 r);
+ void SetC(f32 x, f32 y, f32 z) { SetC(cXyz(x, y, z)); }
#endif
- void SetC(f32 x, f32 y, f32 z) { mCenter.x = x; mCenter.y = y; mCenter.z = z; }
void Set(const cM3dGSphS & src) {
#if VERSION == VERSION_DEMO
mCenter = src.mCenter;