mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
New matches in d_camera_c (#2498)
* dCamera_c::blureCamera matching * store progress * camera store matching (regalloc) * setEventRecoveryTrans matching * matched currentEvCamera and runEventRecoveryTrans * Fix
This commit is contained in:
@@ -31,6 +31,14 @@ public:
|
||||
/* 0x248 */ dCamera_c mCamera;
|
||||
};
|
||||
|
||||
inline void fopCamM_SetAngleX(camera_class* i_camera, s16 angle) {
|
||||
i_camera->angle.x = angle;
|
||||
}
|
||||
|
||||
inline void fopCamM_SetAngleY(camera_class* i_camera, s16 angle) {
|
||||
i_camera->angle.y = angle;
|
||||
}
|
||||
|
||||
inline void fopCamM_SetNear(camera_class* i_this, f32 near) {
|
||||
i_this->near = near;
|
||||
}
|
||||
@@ -55,6 +63,10 @@ inline void fopCamM_SetCenter(camera_class* i_this, f32 x, f32 y, f32 z) {
|
||||
i_this->lookat.center.set(x, y, z);
|
||||
}
|
||||
|
||||
inline void fopCamM_SetUp(camera_class* i_this, f32 x, f32 y, f32 z) {
|
||||
i_this->lookat.up.set(x, y, z);
|
||||
}
|
||||
|
||||
inline void fopCamM_SetBank(camera_class* i_this, s16 bank) {
|
||||
i_this->bank = bank;
|
||||
}
|
||||
@@ -95,6 +107,10 @@ inline cXyz* fopCamM_GetCenter_p(camera_class* i_camera) {
|
||||
return &i_camera->lookat.center;
|
||||
}
|
||||
|
||||
inline cXyz* fopCamM_GetUp_p(camera_class* i_camera) {
|
||||
return &i_camera->lookat.up;
|
||||
}
|
||||
|
||||
inline s16 fopCamM_GetBank(camera_class* i_camera) {
|
||||
return i_camera->bank;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user