MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / UpdateEx

Method UpdateEx

ogsr_engine/xrGame/Car.cpp:448–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446}
447
448void CCar::UpdateEx(float fov)
449{
450#ifdef DEBUG
451 DbgUbdateCl();
452#endif
453
454 // Log("UpdateCL",Device.dwFrame);
455 // XFORM().set(m_pPhysicsShell->mXFORM);
456 VisualUpdate(fov);
457 if (OwnerActor() && OwnerActor()->IsMyCamera())
458 {
459 cam_Update(Device.fTimeDelta, fov);
460 OwnerActor()->Cameras().UpdateFromCamera(Camera());
461 OwnerActor()->Cameras().ApplyDevice();
462 }
463}
464
465BOOL CCar::AlwaysTheCrow() { return (m_car_weapon && m_car_weapon->IsActive()); }
466

Callers 1

shedule_UpdateMethod · 0.80

Calls 5

OwnerActorFunction · 0.85
CameraFunction · 0.85
IsMyCameraMethod · 0.80
UpdateFromCameraMethod · 0.80
ApplyDeviceMethod · 0.80

Tested by

no test coverage detected