mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-27 23:45:55 -04:00
4bd5ca735f
* fop-actor-mng * rodata * more actor mng progress * actor mng progress * format * cleanup * fix Mtx function signatures * PR suggestion Co-authored-by: Pheenoh <pheenoh@gmail.com>
32 lines
589 B
C++
32 lines
589 B
C++
#ifndef JSYSTEM_J3DUCLIPPER_H_
|
|
#define JSYSTEM_J3DUCLIPPER_H_
|
|
|
|
#include "dolphin/types.h"
|
|
#include "mtx_vec.h"
|
|
|
|
class J3DUClipper {
|
|
private:
|
|
void* vtable;
|
|
Vec _4;
|
|
Vec _10;
|
|
Vec _1C;
|
|
Vec _28;
|
|
u8 _34[0x4C - 0x34];
|
|
f32 mFovY;
|
|
f32 mAspect;
|
|
f32 mNear;
|
|
f32 mFar;
|
|
|
|
public:
|
|
u32 clip(const Mtx, Vec*, f32) const;
|
|
u32 clip(const Mtx, Vec*, Vec*) const;
|
|
};
|
|
|
|
extern J3DUClipper lbl_803DD8E4;
|
|
|
|
extern "C" {
|
|
u32 J3DUClipper_NS_clip(const J3DUClipper*, const Mtx, Vec*, f32);
|
|
u32 J3DUClipper_NS_clip_X1_(const J3DUClipper*, const Mtx, Vec*, Vec*);
|
|
}
|
|
|
|
#endif |