temp editor fix
This commit is contained in:
parent
34a32a7792
commit
d129f9f8a4
|
|
@ -309,7 +309,7 @@ void freecam_init(Vec3f pos, s16 rot, u32 mode, s32 cameraId) {
|
|||
} else {
|
||||
// gCameraFOV[cameraId] = 40.0f;
|
||||
}
|
||||
camera->unk_B4 = gCameraFOV[0];
|
||||
camera->unk_B4 = gCameraFOV[cameraId];
|
||||
// }
|
||||
// if (D_80164678[cameraId] == 1) {
|
||||
// if (D_80164A28 == 1) {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ FVector ScreenRayTrace() {
|
|||
|
||||
Mat4 perspMtx;
|
||||
u16 perspNorm;
|
||||
guPerspectiveF(perspMtx, &perspNorm, gCameraFOV[0], OTRGetAspectRatio(), CM_GetProps()->NearPersp, CM_GetProps()->FarPersp, 1.0f);
|
||||
guPerspectiveF(perspMtx, &perspNorm, 40, OTRGetAspectRatio(), CM_GetProps()->NearPersp, CM_GetProps()->FarPersp, 1.0f);
|
||||
|
||||
Mat4 inversePerspMtx;
|
||||
if (InverseMatrix((float*)&perspMtx, (float*)&inversePerspMtx) != 2) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue