NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
m_sphere.hpp
1#pragma once
2
3#include <game/mLib/m_vec.hpp>
4#include <lib/egg/geom/eggSphere.h>
5
6class mSphere_c : public EGG::Sphere3f {
7public:
8 mSphere_c() : EGG::Sphere3f(mVec3_c::Zero, 0.0f) {}
9
10 bool isZero() { return std::fabs(mRadius) <= FLT_EPSILON; }
11};
A sphere defined by a center point and a radius.
Definition eggSphere.h:7
static mVec3_c Zero
The null vector.
Definition m_vec.hpp:208