NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
scn_leaf.hpp
1
#pragma once
2
#include <lib/nw4r/g3d/scn_leaf.hpp>
3
#include <lib/nw4r/math/vec.hpp>
4
#include <lib/nw4r/math/mtx.hpp>
5
6
namespace
m3d
{
7
class
scnLeaf_c {
8
public
:
9
/// @unofficial
10
enum
leafType_e
{
11
TYPE_BMDL,
12
TYPE_UNUSED,
13
TYPE_PROC
14
};
15
16
scnLeaf_c
();
17
virtual
~scnLeaf_c
();
18
19
virtual
leafType_e
getType()
const
= 0;
20
virtual
void
remove();
21
virtual
void
entry();
22
23
void
setOption(ulong option, ulong value);
24
bool
getOption(ulong option, ulong *value)
const
;
25
void
setScale(
float
x,
float
y,
float
z);
26
void
setScale(
const
nw4r::math::VEC3
&scale);
27
void
setLocalMtx(
const
nw4r::math::MTX34
*mtx);
28
void
getLocalMtx(
nw4r::math::MTX34
*mtx)
const
;
29
void
getViewMtx(
nw4r::math::MTX34
*mtx)
const
;
30
void
calc(
bool
keepEnabledAfter);
31
void
calcVtx(
bool
keepEnabledAfter);
32
void
setPriorityDraw(
int
prioOpa,
int
prioXlu);
33
34
nw4r::g3d::ScnObj
*getScn()
const
{
return
mpScn; }
35
36
protected
:
37
nw4r::g3d::ScnLeaf
*mpScn;
38
};
39
}
m3d::scnLeaf_c
Definition
scn_leaf.hpp:7
m3d::scnLeaf_c::leafType_e
leafType_e
Definition
scn_leaf.hpp:10
nw4r::g3d::ScnLeaf
Definition
scn_leaf.hpp:8
nw4r::g3d::ScnObj
Definition
scn_obj.hpp:12
m3d
mLib 3D library
Definition
anm_chr.hpp:5
nw4r::math::MTX34
A 3x4 matrix.
Definition
mtx.hpp:15
nw4r::math::VEC3
A three-dimensional floating point vector.
Definition
vec.hpp:22
include
game
mLib
m_3d
scn_leaf.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2