Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DUClipper.h
Go to the documentation of this file.
1#ifndef J3DUCLIPPER_H
2#define J3DUCLIPPER_H
3
4#include "dolphin/mtx.h"
5
10class J3DUClipper {
11public:
13 virtual ~J3DUClipper() {}
14 /* 80273778 */ void init();
15 /* 8027378C */ void calcViewFrustum();
16 /* 802738FC */ int clip(f32 const (*)[4], Vec, f32) const;
17 /* 80273A44 */ int clip(f32 const (*)[4], Vec*, Vec*) const;
18
19 void setFovy(f32 fovy) { mFovY = fovy; }
21 void setNear(f32 near) { mNear = near; }
22 void setFar(f32 far) { mFar = far; }
23
24 f32 getFar() { return mFar; }
25
26private:
27 /* 0x04 */ Vec _04;
28 /* 0x10 */ Vec _10;
29 /* 0x1C */ Vec _1C;
30 /* 0x28 */ Vec _28;
31 /* 0x34 */ u8 _34[0x4C - 0x34];
32 /* 0x4C */ f32 mFovY;
33 /* 0x50 */ f32 mAspect;
34 /* 0x54 */ f32 mNear;
35 /* 0x58 */ f32 mFar;
36};
37
38#endif /* J3DUCLIPPER_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_a_ep.cpp:151
void setNear(f32 near)
Definition J3DUClipper.h:21
void calcViewFrustum()
void init()
Definition J3DUClipper.cpp:22
int clip(f32 const (*)[4], Vec, f32) const
Definition J3DUClipper.cpp:49
void setAspect(f32 aspect)
Definition J3DUClipper.h:20
Vec _04
Definition J3DUClipper.h:27
void setFovy(f32 fovy)
Definition J3DUClipper.h:19
Vec _28
Definition J3DUClipper.h:30
virtual ~J3DUClipper()
Definition J3DUClipper.h:13
f32 mNear
Definition J3DUClipper.h:34
u8 _34[0x4C - 0x34]
Definition J3DUClipper.h:31
f32 mFar
Definition J3DUClipper.h:35
Vec _10
Definition J3DUClipper.h:28
f32 mFovY
Definition J3DUClipper.h:32
f32 getFar()
Definition J3DUClipper.h:24
Vec _1C
Definition J3DUClipper.h:29
J3DUClipper()
Definition J3DUClipper.h:12
f32 mAspect
Definition J3DUClipper.h:33
void setFar(f32 far)
Definition J3DUClipper.h:22
Definition d_a_hozelda.cpp:18
float f32
Definition types.h:22
unsigned char u8
Definition types.h:8