summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Floater.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-04 21:24:11 +0200
committerGitHub <noreply@github.com>2020-07-04 21:24:11 +0200
commit1e679dcb8dddc7ebedaccea022929e3bc9f565c3 (patch)
tree4ff032e482ddd51e9128a5ee16adda5b70a8e0fb /src/vehicles/Floater.h
parentPeds & fixes (diff)
parentCBoat and friends (diff)
downloadre3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar
re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar.gz
re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar.bz2
re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar.lz
re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar.xz
re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar.zst
re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.zip
Diffstat (limited to 'src/vehicles/Floater.h')
-rw-r--r--src/vehicles/Floater.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicles/Floater.h b/src/vehicles/Floater.h
index 1cfb46fb..91ab70ae 100644
--- a/src/vehicles/Floater.h
+++ b/src/vehicles/Floater.h
@@ -36,10 +36,12 @@ public:
CVector m_impulsePoint;
bool ProcessBuoyancy(CPhysical *phys, float buoyancy, CVector *point, CVector *impulse);
+ bool ProcessBuoyancyBoat(CVehicle *phys, float buoyancy, CVector *point, CVector *impulse, bool bNoTurnForce);
void PreCalcSetup(CPhysical *phys, float buoyancy);
void SimpleCalcBuoyancy(void);
float SimpleSumBuoyancyData(CVector &waterLevel, tWaterLevel waterPosition);
void FindWaterLevel(const CVector &zpos, CVector *waterLevel, tWaterLevel *waterPosition);
+ void FindWaterLevelNorm(const CVector &zpos, CVector *waterLevel, tWaterLevel *waterPosition, CVector *normal);
bool CalcBuoyancyForce(CPhysical *phys, CVector *impulse, CVector *point);
};
extern cBuoyancy mod_Buoyancy;