diff options
author | aap <aap@papnet.eu> | 2020-07-01 18:03:39 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-07-01 18:04:02 +0200 |
commit | 2141247e0829baec36c9011f0c660ad7d8e40dd8 (patch) | |
tree | f413928cb6dd07e5447113cac0b84e32d45b1318 /src/vehicles/Floater.h | |
parent | fix (diff) | |
download | re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.gz re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.bz2 re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.lz re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.xz re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.zst re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.zip |
Diffstat (limited to 'src/vehicles/Floater.h')
-rw-r--r-- | src/vehicles/Floater.h | 2 |
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; |