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
6
class
mSphere_c :
public
EGG::Sphere3f {
7
public
:
8
mSphere_c() {}
9
mSphere_c(
const
mVec3_c
¢er,
float
radius) : EGG::Sphere3f(center, radius) {}
10
11
void
set(
const
mVec3_c
¢er,
float
radius) {
12
mCenter = center;
13
mRadius = radius;
14
}
15
16
bool
isZero() {
return
std::fabs(mRadius) <= FLT_EPSILON; }
17
};
mVec3_c
A three-dimensional floating point vector.
Definition
m_vec.hpp:112
include
game
mLib
m_sphere.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.15.0