mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-09 12:05:52 -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:
@@ -341,9 +341,9 @@ int daObjHHASHI_c::Execute(f32 (**param_1)[3][4]) {
|
||||
|
||||
int daObjHHASHI_c::Draw() {
|
||||
if (dComIfGp_event_runCheck()) {
|
||||
camera_class* pCamera = dComIfGp_getCamera(0);
|
||||
f32 xdiff = current.pos.x - pCamera->lookat.eye.x;
|
||||
f32 zdiff = current.pos.z - pCamera->lookat.eye.z;
|
||||
camera_process_class* pCamera = dComIfGp_getCamera(0);
|
||||
f32 xdiff = current.pos.x - pCamera->view.lookat.eye.x;
|
||||
f32 zdiff = current.pos.z - pCamera->view.lookat.eye.z;
|
||||
if (JMAFastSqrt(xdiff * xdiff + zdiff * zdiff) < 200.0f) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user