summaryrefslogtreecommitdiff
path: root/libs/SSystem/SComponent/c_m3d_g_cps.cpp
blob: 4560549c6c6657f3fa5a779be3a65c130459b981 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 * c_m3d_g_cps.cpp
 *
 */

#include "SSystem/SComponent/c_m3d_g_cps.h"

/* 8026EF88-8026EFA4 2698C8 001C+00 0/0 5/5 20/20 .text            __ct__8cM3dGCpsFv */
cM3dGCps::cM3dGCps() {}

/* 8026EFA4-8026F000 2698E4 005C+00 1/0 7/7 6/6 .text            __dt__8cM3dGCpsFv */
cM3dGCps::~cM3dGCps() {}

/* 8026F000-8026F03C 269940 003C+00 1/1 2/2 10/10 .text            Set__8cM3dGCpsFRC4cXyzRC4cXyzf */
void cM3dGCps::Set(const cXyz& start, const cXyz& end, f32 radius) {
    SetStartEnd(start, end);
    mRadius = radius;
}

/* 8026F03C-8026F080 26997C 0044+00 0/0 1/1 10/10 .text            Set__8cM3dGCpsFRC9cM3dGCpsS */
void cM3dGCps::Set(const cM3dGCpsS& other) {
    SetStartEnd(other.mStart, other.mEnd);
    mRadius = other.mRadius;
}

/* 8026F080-8026F0A8 2699C0 0028+00 0/0 1/1 0/0 .text            SetCps__8cM3dGCpsFRC8cM3dGCps */
void cM3dGCps::SetCps(const cM3dGCps& other) {
    Set(other.GetStartP(), other.GetEndP(), other.mRadius);
}