NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
Rect.h
1
#pragma once
2
3
namespace
nw4r {
4
namespace
ut
{
5
6
struct
Rect {
7
Rect(
float
l,
float
t,
float
r,
float
b) : left(l), top(t), right(r), bottom(b) {}
8
9
float
GetWidth()
const
{
return
right - left; }
10
11
float
GetHeight()
const
{
return
bottom - top; }
12
13
float
left;
14
float
top;
15
float
right;
16
float
bottom;
17
};
18
19
}
// namespace ut
20
}
// namespace nw4r
nw4r::ut
Debugging library which includes various utilities used by the rest of nw4r.
Definition
ut_list.cpp:4
include
lib
nw4r
ut
Rect.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2