minimal weather stuff + multiple bugfixes
This commit is contained in:
1 parent
9067469f7c
commit
4defd8b75c
9 files changed
+146
-91
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user