SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
MapObj
ClipAreaShape.hpp
1
#pragma once
2
3
#include <JSystem/JGeometry.hpp>
4
#include <JSystem/J3DGraphAnimator/J3DModel.hpp>
5
6
class
ClipAreaShape
{
7
public
:
8
ClipAreaShape
(
const
char
*);
9
10
virtual
bool
isInArea(
const
TVec3f &)
const
;
11
virtual
void
calcVolumeMatrix(TPos3f *,
const
TPos3f &,
const
TVec3f &)
const
;
12
13
bool
isInArea(
const
TVec3f &, f32,
const
TPos3f &,
const
TVec3f &)
const
;
14
void
drawVolumeShape(
const
TPos3f &,
const
TVec3f &)
const
;
15
16
J3DModelData* mModelData;
// _4
17
};
18
19
class
ClipAreaShapeCone
:
public
ClipAreaShape
{
20
public
:
21
ClipAreaShapeCone
(s32);
22
23
virtual
bool
isInArea(
const
TVec3f &)
const
;
24
25
f32 _8;
26
f32 _C;
27
s32 _10;
28
};
29
30
class
ClipAreaShapeSphere
:
public
ClipAreaShape
{
31
public
:
32
ClipAreaShapeSphere
();
33
34
virtual
bool
isInArea(
const
TVec3f &)
const
;
35
virtual
void
calcVolumeMatrix(TPos3f *,
const
TPos3f &,
const
TVec3f &)
const
;
36
37
f32 mRadius;
// _8
38
};
39
40
class
ClipAreaShapeBox
:
public
ClipAreaShape
{
41
public
:
42
ClipAreaShapeBox
(s32);
43
44
virtual
bool
isInArea(
const
TVec3f &)
const
;
45
virtual
void
calcVolumeMatrix(TPos3f *,
const
TPos3f &,
const
TVec3f &)
const
;
46
47
f32 mRadius;
// _8
48
s32 _C;
49
};
ClipAreaShapeBox
Definition
ClipAreaShape.hpp:40
ClipAreaShapeCone
Definition
ClipAreaShape.hpp:19
ClipAreaShape
Definition
ClipAreaShape.hpp:6
ClipAreaShapeSphere
Definition
ClipAreaShape.hpp:30
Generated by
1.10.0