temp editor fix

This commit is contained in:
MegaMech 2025-12-12 22:00:18 -07:00
parent 34a32a7792
commit d129f9f8a4
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {