NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
eggSphere.h
1#pragma once
2
3#include <lib/egg/math/eggVector.h>
4
5namespace EGG {
6 /// @brief A sphere defined by a center point and a radius.
7 class Sphere3f {
8 public:
9 Sphere3f() {}
10
11 /// @brief Constructs a sphere from a center and radius.
12 Sphere3f(const Vector3f &center, float radius) : mCenter(center), mRadius(radius) {}
13
14 Vector3f mCenter;
15 float mRadius;
16 };
17}
Sphere3f(const Vector3f &center, float radius)
Constructs a sphere from a center and radius.
Definition eggSphere.h:12
A three-dimensional floating point vector.
Definition eggVector.h:34