This commit is contained in:
TakaRikka
2026-03-06 22:39:33 -08:00
140 changed files with 1293 additions and 1042 deletions
+10 -10
View File
@@ -146,15 +146,15 @@ static int daVrbox2_Draw(vrbox2_class* i_this) {
#if !DEBUG
cXyz sp8;
if (strcmp(dComIfGp_getStartStageName(), "F_SP102") == 0) {
dKyr_get_vectle_calc(&camera_p->lookat.eye, &g_env_light.sun_pos, &sp8);
sp14.x = camera_p->lookat.eye.x + (8000.0f * sp8.x);
sp14.y = camera_p->lookat.eye.y + (8000.0f * sp8.y);
sp14.z = camera_p->lookat.eye.z + (8000.0f * sp8.z);
dKyr_get_vectle_calc(&camera_p->view.lookat.eye, &g_env_light.sun_pos, &sp8);
sp14.x = camera_p->view.lookat.eye.x + (8000.0f * sp8.x);
sp14.y = camera_p->view.lookat.eye.y + (8000.0f * sp8.y);
sp14.z = camera_p->view.lookat.eye.z + (8000.0f * sp8.z);
}
#endif
temp_r19 = cLib_targetAngleX(&camera_p->lookat.eye, &sp14);
temp_r18 = cLib_targetAngleY(&camera_p->lookat.eye, &sp14);
temp_r19 = cLib_targetAngleX(&camera_p->view.lookat.eye, &sp14);
temp_r18 = cLib_targetAngleY(&camera_p->view.lookat.eye, &sp14);
mDoMtx_stack_c::transS(sp14.x, sp14.y, sp14.z);
mDoMtx_stack_c::YrotM((s16)temp_r18);
mDoMtx_stack_c::XrotM(0x7FFF + -temp_r19);
@@ -189,8 +189,8 @@ static int daVrbox2_Draw(vrbox2_class* i_this) {
sp14 = sun_p->mPos[0];
sp14.y = 300.0f + -(sp14.y * 0.85f);
temp_r19 = cLib_targetAngleX(&camera_p->lookat.eye, &sp14);
temp_r18 = cLib_targetAngleY(&camera_p->lookat.eye, &sp14);
temp_r19 = cLib_targetAngleX(&camera_p->view.lookat.eye, &sp14);
temp_r18 = cLib_targetAngleY(&camera_p->view.lookat.eye, &sp14);
mDoMtx_stack_c::transS(sp14.x, sp14.y, sp14.z);
mDoMtx_stack_c::YrotM((s16)temp_r18);
mDoMtx_stack_c::XrotM(0x7FFF + -temp_r19);
@@ -250,8 +250,8 @@ static int daVrbox2_color_set(vrbox2_class* i_this) {
sp10 = dStage_stagInfo_GetSTType(dComIfGp_getStage()->getStagInfo());
cam_eye = camera_p->lookat.eye;
cam_center = camera_p->lookat.center;
cam_eye = camera_p->view.lookat.eye;
cam_center = camera_p->view.lookat.center;
cam_eye.y = 0.0f;
cam_center.y = 0.0f;