mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-07 18:20:30 -04:00
This commit is contained in:
@@ -493,7 +493,7 @@ static int fopAc_Create(void* i_this) {
|
||||
dKy_tevstr_init(&actor->tevStr, actor->home.roomNo, -1);
|
||||
|
||||
dStage_FileList_dt_c* sp14 = NULL;
|
||||
camera_class* sp10 = dComIfGp_getCamera(0);
|
||||
camera_process_class* sp10 = dComIfGp_getCamera(0);
|
||||
|
||||
if (dComIfGp_roomControl_getStayNo() >= 0) {
|
||||
sp14 = dComIfGp_roomControl_getStatusRoomDt(dComIfGp_roomControl_getStayNo())->getFileListInfo();
|
||||
|
||||
@@ -2179,7 +2179,7 @@ static void get_vectle_calc(const cXyz* pXyzA, const cXyz* pXyzB, cXyz* pOut) {
|
||||
void fopAcM_setEffectMtx(const fopAc_ac_c* i_actor, const J3DModelData* modelData) {
|
||||
const cXyz* pEyePos = &i_actor->eyePos;
|
||||
camera_class* camera = dCam_getCamera();
|
||||
cXyz v1 = *pEyePos - camera->lookat.eye;
|
||||
cXyz v1 = *pEyePos - camera->view.lookat.eye;
|
||||
cXyz v2;
|
||||
get_vectle_calc(&i_actor->tevStr.field_0x32c, pEyePos, &v2);
|
||||
cXyz half;
|
||||
|
||||
Reference in New Issue
Block a user