SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
AreaObjUtil.hpp
1#pragma once
2
3#include "JSystem/JGeometry/TBox.hpp"
4#include "JSystem/JGeometry/TVec.hpp"
5
6class AreaObj;
8class AreaObjMgr;
9class AreaCubeBoundingBox;
10class WaterInfo;
11
12namespace MR {
13 AreaObjMgr* getAreaObjManager(const char *);
14 AreaObj* getAreaObj(const char *, const TVec3f &);
15 bool isInAreaObj(const char *, const TVec3f &);
16 s32 getAreaObjArg(const AreaObj *, s32);
17
18 void calcCylinderPos(TVec3f *, const AreaObj *);
19
20 void calcCylinderUpVec(TVec3f *, const AreaObj *);
21 f32 getCylinderRadius(const AreaObj *);
22
23 void calcCubePos(const AreaObj *, TVec3f *);
24 void calcCubeLocalPos(TVec3f *, const AreaObj *, const TVec3f &);
25
26 void calcCubeRotate(const AreaObj *, TVec3f *);
27
28 bool calcWhirlPoolAccelInfo(const TVec3f &, TVec3f *);
29
30 TBox3f *getCubeLocalBox(const AreaObj *);
31
32 AreaObj* getCurrentAstroOverlookAreaObj();
33
34 AreaObj* getAreaIn(const char *, const TVec3f &);
35
36 AreaObj* getWaterAreaObj(WaterInfo *, const TVec3f &);
37};