mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-21 22:10:59 -04:00
c_cc_d OK
This commit is contained in:
@@ -284,7 +284,7 @@ private:
|
||||
public:
|
||||
cCcD_DivideInfo() {}
|
||||
virtual ~cCcD_DivideInfo() {}
|
||||
void Set(u32, u32, u32);
|
||||
void Set(u32 param_1) { mRangeBits = param_1; }
|
||||
bool Chk(cCcD_DivideInfo const&) const;
|
||||
}; // Size = 0x8
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ public:
|
||||
virtual ~cM3dGAab() {}
|
||||
void SetMinMax(const cXyz&);
|
||||
void Set(const cXyz& min, const cXyz& max) {
|
||||
SetMin(min);
|
||||
SetMax(max);
|
||||
mMin = min;
|
||||
mMax = max;
|
||||
}
|
||||
void SetMin(const cXyz&);
|
||||
void SetMax(const cXyz&);
|
||||
|
||||
@@ -23,15 +23,19 @@ public:
|
||||
mStart = start;
|
||||
mEnd = end;
|
||||
}
|
||||
void CalcPos(Vec*, f32) const;
|
||||
void CalcPos(Vec*, f32) const { /* TODO */ }
|
||||
void CalcVec(Vec* pOut) const { VECSubtract(&this->mEnd, &this->mStart, pOut); }
|
||||
void SetEnd(const cXyz&);
|
||||
void SetEnd(const cXyz&) { /* TODO */ }
|
||||
const cXyz& GetStartP() const { return mStart; }
|
||||
cXyz& GetStartP() { return mStart; }
|
||||
const cXyz& GetStart() const { return mStart; }
|
||||
cXyz& GetStart() { return mStart; }
|
||||
const cXyz& GetEndP() const { return mEnd; }
|
||||
cXyz& GetEndP() { return mEnd; }
|
||||
const cXyz& GetEnd() const { return mEnd; }
|
||||
cXyz& GetEnd() { return mEnd; }
|
||||
void GetLen() const { /* TODO */ }
|
||||
void set(const Vec&, const Vec&) { /* TODO */ }
|
||||
}; // Size = 0x1C
|
||||
|
||||
STATIC_ASSERT(0x1C == sizeof(cM3dGLin));
|
||||
|
||||
@@ -22,11 +22,13 @@ public:
|
||||
cM3dGSph() {}
|
||||
virtual ~cM3dGSph() {}
|
||||
void SetC(const cXyz&);
|
||||
void SetC(f32, f32, f32) {}
|
||||
void SetR(f32);
|
||||
void Set(const cM3dGSphS & src) {
|
||||
SetC(src.mCenter);
|
||||
SetR(src.mRadius);
|
||||
}
|
||||
void Set(const cXyz&, f32) {}
|
||||
bool Cross(const cM3dGCps* cps, cXyz* dst) const {
|
||||
return cM3d_Cross_CpsSph(*cps, *this, dst);
|
||||
}
|
||||
@@ -36,8 +38,12 @@ public:
|
||||
bool cross(const cM3dGCyl*, cXyz*) const;
|
||||
bool cross(const cM3dGSph*, cXyz*) const;
|
||||
bool cross(const cM3dGSph*, f32*) const;
|
||||
bool cross(const cM3dGCyl* cyl, f32* out) const { return cM3d_Cross_CylSph(cyl, this, &cXyz(), out); }
|
||||
void cross(const cM3dGTri*) const {}
|
||||
const cXyz& GetC() const { return mCenter; }
|
||||
cXyz& GetC() { return mCenter; }
|
||||
const cXyz* GetCP() const { return &mCenter; }
|
||||
cXyz* GetCP() { return &mCenter; }
|
||||
const f32 GetR(void) const { return mRadius; }
|
||||
f32 GetCX(void) const { return mCenter.x; }
|
||||
f32 GetCY(void) const { return mCenter.y; }
|
||||
|
||||
Reference in New Issue
Block a user