summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent/c_m3d_g_lin.h
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2026-03-17 22:48:37 -0700
committerGitHub <noreply@github.com>2026-03-17 22:48:37 -0700
commitf64015ea383cc3ba93a90918ac3dd1d2f66e1e17 (patch)
treee5b1205895176398034a77ccba6e2c498522fd88 /include/SSystem/SComponent/c_m3d_g_lin.h
parent6694c1b281a142972fce587bd20cd82ee65ab38f (diff)
cc debug work (#3133)
Diffstat (limited to 'include/SSystem/SComponent/c_m3d_g_lin.h')
-rw-r--r--include/SSystem/SComponent/c_m3d_g_lin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/SSystem/SComponent/c_m3d_g_lin.h b/include/SSystem/SComponent/c_m3d_g_lin.h
index d6b86ebcf0..fbe65d9b33 100644
--- a/include/SSystem/SComponent/c_m3d_g_lin.h
+++ b/include/SSystem/SComponent/c_m3d_g_lin.h
@@ -22,13 +22,13 @@ public:
void SetEnd(const cXyz&);
void set(const Vec& i_start, const Vec& i_end) { SetStartEnd(i_start, i_end); }
- const cXyz& GetStartP(void) const { return mStart; }
- cXyz& GetStartP(void) { return mStart; }
+ const cXyz* GetStartP() const { return &mStart; }
+ cXyz* GetStartP() { return &mStart; }
cXyz& GetStart() { return mStart; }
const cXyz& GetStart() const { return mStart; }
- const cXyz& GetEndP(void) const { return mEnd; }
- cXyz& GetEndP(void) { return mEnd; }
+ const cXyz* GetEndP() const { return &mEnd; }
+ cXyz* GetEndP() { return &mEnd; }
cXyz& GetEnd() { return mEnd; }
const cXyz& GetEnd() const { return mEnd; }
f32 GetLen() const { return PSVECDistance(&mStart, &mEnd); }