NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
vec.hpp
1
#pragma once
2
3
namespace
nw4r {
4
namespace
math
{
5
6
/// @brief A two-dimensional floating point vector.
7
struct
_VEC2
{
8
float
x, y;
9
};
10
11
struct
VEC2 :
public
_VEC2
{
12
VEC2() {}
13
VEC2(
float
fx,
float
fy) { x = fx; y = fy; }
14
VEC2(
const
VEC2 &v) { x = v.x; y = v.y; }
15
};
16
17
struct
_VEC3
{
18
float
x, y, z;
19
};
20
21
/// @brief A three-dimensional floating point vector.
22
struct
VEC3 :
public
_VEC3
{
23
VEC3() {}
24
VEC3(
float
fx,
float
fy,
float
fz) { x = fx; y = fy; z = fz; }
25
};
26
27
}
// namespace math
28
}
// namespace nw4r
nw4r::math
Math library.
Definition
docgroup.h:16
nw4r::math::_VEC2
A two-dimensional floating point vector.
Definition
vec.hpp:7
nw4r::math::_VEC3
Definition
vec.hpp:17
include
lib
nw4r
math
vec.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2