Match and link CSphere

Former-commit-id: 68616cba51
This commit is contained in:
2022-10-05 16:45:48 -07:00
parent 8346d160f6
commit 96236df954
4 changed files with 9 additions and 2 deletions

View File

@@ -4,12 +4,13 @@
#include "types.h"
#include "Kyoto/Math/CVector3f.hpp"
#include "Kyoto/Math/CUnitVector3f.hpp"
class CSphere {
public:
CSphere(const CVector3f& pos, f32 radius) : x0_pos(pos), xc_radius(radius) {}
// TODO
CUnitVector3f GetSurfaceNormal(const CVector3f& v) const;
private:
CVector3f x0_pos;