summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-07-24 11:25:35 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-07-24 11:25:35 -0400
commit7efaae45c77dd3ce555e73970ae9182ec2dd4e76 (patch)
treed0018f02deade08e66c9e834581e3cb61d1daf53 /include/SSystem/SComponent
parentaf1c8e261e402c7ce879ea541c8dbe794f177483 (diff)
A couple demo matches
Diffstat (limited to 'include/SSystem/SComponent')
-rw-r--r--include/SSystem/SComponent/c_m3d_g_lin.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/SSystem/SComponent/c_m3d_g_lin.h b/include/SSystem/SComponent/c_m3d_g_lin.h
index f0571acc..1f85cac8 100644
--- a/include/SSystem/SComponent/c_m3d_g_lin.h
+++ b/include/SSystem/SComponent/c_m3d_g_lin.h
@@ -20,12 +20,11 @@ public:
mEnd = end;
}
void SetStartEnd(const Vec& start, const Vec& end) {
- mStart = start;
- mEnd = end;
+ mStart.set(start);
+ mEnd.set(end);
}
void set(const Vec& start, const Vec& end) {
- mStart = start;
- mEnd = end;
+ SetStartEnd(start, end);
}
void CalcPos(Vec* out, f32 scale) const {
Vec tmp;