mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-13 14:40:34 +00:00
minimal weather stuff + multiple bugfixes
This commit is contained in:
parent
9067469f7c
commit
4defd8b75c
9 changed files with 146 additions and 91 deletions
|
@ -139,6 +139,8 @@ static float PitchToCamera;
|
|||
void
|
||||
CVisibilityPlugins::SetupVehicleVariables(RpClump *vehicle)
|
||||
{
|
||||
if (vehicle->object.type != rpCLUMP)
|
||||
return;
|
||||
DistToCameraSq = GetDistanceSquaredFromCamera(RpClumpGetFrame(vehicle));
|
||||
RwV3d distToCam;
|
||||
RwV3dSub(&distToCam, ms_pCameraPosn, &RwFrameGetMatrix(RpClumpGetFrame(vehicle))->pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue