summaryrefslogtreecommitdiff
path: root/include/egg/geom/eggSphere.h
blob: 4c0ec610d9d92efc656da201cdd2d77fc7b531a6 (plain)
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 &center, f32 radius) : mCenter(center), mRadius(radius) {}

    Vector3f mCenter;
    f32 mRadius;
};

} // namespace EGG

#endif