mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-20 13:24:40 -04:00
some cleanup of f_pc/f_op files (#2254)
* cleanup f_pc files * cleanup f_op files * fix a couple f_op_actor_mng functions * minor JSystem work
This commit is contained in:
@@ -74,7 +74,7 @@ public:
|
||||
camera_class* iVar1 = dComIfGp_getCamera(0);
|
||||
cXyz local_28;
|
||||
current.pos = *fopCamM_GetEye_p(iVar1);
|
||||
dKyr_get_vectle_calc(&iVar1->mLookat.mEye, &iVar1->mLookat.mCenter, &local_28);
|
||||
dKyr_get_vectle_calc(&iVar1->lookat.eye, &iVar1->lookat.center, &local_28);
|
||||
current.angle.y = 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