mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-12 13:04: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:
@@ -92,9 +92,9 @@ void daPPolamp_c::setPclModelMtx() {
|
||||
Vec local_2c = {0.0f, -45.0f, 0.0f};
|
||||
cMtx_multVec(mModel1->getBaseTRMtx(), &local_2c, &local_20);
|
||||
mDoMtx_stack_c::transS(local_20.x, local_20.y, local_20.z);
|
||||
camera_class* camera = dComIfGp_getCamera(0);
|
||||
camera_process_class* camera = dComIfGp_getCamera(0);
|
||||
if (camera != NULL) {
|
||||
cXyz cStack_38 = camera->lookat.eye - current.pos;
|
||||
cXyz cStack_38 = camera->view.lookat.eye - current.pos;
|
||||
mDoMtx_stack_c::YrotM(cStack_38.atan2sX_Z());
|
||||
mDoMtx_stack_c::XrotM(cStack_38.atan2sY_XZ());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user