Initial CCollidableSphere match work

This commit is contained in:
2024-10-13 22:00:50 -07:00
parent 51c06420f9
commit f9ed07d33c
8 changed files with 143 additions and 13 deletions

View File

@@ -10,8 +10,8 @@ class CSphere {
public:
CSphere(const CVector3f& pos, float radius) : x0_center(pos), xc_radius(radius) {}
CVector3f GetCenter() const { return x0_center; }
float GetRadius() const { return xc_radius; }
const CVector3f& GetCenter() const { return x0_center; }
const float GetRadius() const { return xc_radius; }
CUnitVector3f GetSurfaceNormal(const CVector3f& v) const;
private: