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
5
namespace
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
¢er,
float
radius) : mCenter(center), mRadius(radius) {}
13
14
Vector3f
mCenter;
15
float
mRadius;
16
};
17
}
EGG::Sphere3f::Sphere3f
Sphere3f(const Vector3f ¢er, float radius)
Constructs a sphere from a center and radius.
Definition
eggSphere.h:12
EGG::Vector3f
A three-dimensional floating point vector.
Definition
eggVector.h:34
include
lib
egg
geom
eggSphere.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2