mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-16 06:25:47 -04:00
Demo matches (#767)
This commit is contained in:
@@ -53,12 +53,12 @@ public:
|
||||
VECScale(pOut, pOut, 0.5f);
|
||||
}
|
||||
void ClearForMinMax() {
|
||||
mMin.z = 1000000000.0f;
|
||||
mMin.y = 1000000000.0f;
|
||||
mMin.x = 1000000000.0f;
|
||||
mMax.z = -1000000000.0f;
|
||||
mMax.y = -1000000000.0f;
|
||||
mMax.x = -1000000000.0f;
|
||||
mMin.z = G_CM3D_F_INF;
|
||||
mMin.y = G_CM3D_F_INF;
|
||||
mMin.x = G_CM3D_F_INF;
|
||||
mMax.z = -G_CM3D_F_INF;
|
||||
mMax.y = -G_CM3D_F_INF;
|
||||
mMax.x = -G_CM3D_F_INF;
|
||||
}
|
||||
void ClearForMinMaxY() {
|
||||
mMin.y = G_CM3D_F_INF;
|
||||
|
||||
@@ -21,9 +21,14 @@ public:
|
||||
|
||||
cM3dGSph() {}
|
||||
virtual ~cM3dGSph() {}
|
||||
void SetC(const cXyz&);
|
||||
void SetC(f32, f32, f32) {}
|
||||
void SetR(f32);
|
||||
#if VERSION == VERSION_DEMO
|
||||
void SetC(const cXyz& p) { mCenter = p; }
|
||||
void SetR(f32 r) { mRadius = r; }
|
||||
#else
|
||||
void SetC(const cXyz& p);
|
||||
void SetR(f32 r);
|
||||
#endif
|
||||
void SetC(f32, f32, f32) {} // TODO
|
||||
void Set(const cM3dGSphS & src) {
|
||||
SetC(src.mCenter);
|
||||
SetR(src.mRadius);
|
||||
|
||||
Reference in New Issue
Block a user