mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-12 21:14:38 -04:00
d_s_room / d_s_name / d_a_title debug work (#3123)
* d_s_room / d_s_name debug work * camera_class rtti fix * d_a_title debug / handle shield rel changes * fix shield build * fix regressions
This commit is contained in:
@@ -220,11 +220,11 @@ static int daYkgrExecute(void* i_this) {
|
||||
}
|
||||
|
||||
void daYkgr_c::set_mtx() {
|
||||
camera_class* iVar1 = dComIfGp_getCamera(0);
|
||||
camera_process_class* iVar1 = dComIfGp_getCamera(0);
|
||||
cXyz local_28;
|
||||
cXyz* r29 = fopCamM_GetEye_p(iVar1);
|
||||
current.pos = *r29;
|
||||
dKyr_get_vectle_calc(&iVar1->lookat.eye, &iVar1->lookat.center, &local_28);
|
||||
dKyr_get_vectle_calc(&iVar1->view.lookat.eye, &iVar1->view.lookat.center, &local_28);
|
||||
current.angle.y = (s16)cM_atan2s(local_28.x, local_28.z);
|
||||
current.angle.x = -cM_atan2s(
|
||||
local_28.y, JMAFastSqrt((local_28.x * local_28.x + local_28.z * local_28.z)));
|
||||
|
||||
Reference in New Issue
Block a user