1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef EGG_SPHERE_H #define EGG_SPHERE_H #include "egg/math/eggVector.h" namespace EGG { class Sphere3f { public: Sphere3f() {} ~Sphere3f() {} Sphere3f(const Vector3f ¢er, f32 radius) : mCenter(center), mRadius(radius) {} Vector3f mCenter; f32 mRadius; }; } // namespace EGG #endif