diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-07-24 11:25:35 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-07-24 11:25:35 -0400 |
| commit | 7efaae45c77dd3ce555e73970ae9182ec2dd4e76 (patch) | |
| tree | d0018f02deade08e66c9e834581e3cb61d1daf53 /include/SSystem | |
| parent | af1c8e261e402c7ce879ea541c8dbe794f177483 (diff) | |
A couple demo matches
Diffstat (limited to 'include/SSystem')
| -rw-r--r-- | include/SSystem/SComponent/c_m3d_g_lin.h | 7 |
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; |
