NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
ef_util.h
1#ifndef NW4R_EF_UTIL_H
2#define NW4R_EF_UTIL_H
3#include <nw4r/types_nw4r.h>
4
5#include <nw4r/ut.h>
6
7namespace nw4r {
8namespace ef {
9
10u16 UtlistToArray(const ut::List* pList, void** ppArray, int maxlen);
11
12math::VEC3& Rotation2VecY(const math::VEC3& rRot, math::VEC3* pVec);
13void GetDirMtxY(math::MTX34* pMtx, const math::VEC3& rVec);
14
15void MtxGetRotationMtx(const math::MTX34& rMtx, math::MTX34* pDst);
16
17void MtxSetColVec(math::MTX34* pMtx, int col, const math::VEC3* pVec);
18math::VEC3* MtxColVec(const math::MTX34* pMtx, int col, math::VEC3* pVec);
19
20void MtxGetRotation(const math::MTX34& rMtx, math::VEC3* pRot);
21void MtxGetTranslate(const math::MTX34& rMtx, math::VEC3* pTrans);
22void MtxGetScale(const math::MTX34& rMtx, math::VEC3* pScale);
23
24} // namespace ef
25} // namespace nw4r
26
27#endif