diff options
author | _AG <gennariarmando@outlook.com> | 2019-07-07 09:21:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-07 09:21:44 +0200 |
commit | 0ac6d0515e1ba703da2c0f742d91e7b550feac06 (patch) | |
tree | 2a5b1fc5511841acb443636b5a9b560d7aca5f2b /src/entities/Physical.h | |
parent | Lil update. (diff) | |
parent | some work on vehicles (diff) | |
download | re3-0ac6d0515e1ba703da2c0f742d91e7b550feac06.tar re3-0ac6d0515e1ba703da2c0f742d91e7b550feac06.tar.gz re3-0ac6d0515e1ba703da2c0f742d91e7b550feac06.tar.bz2 re3-0ac6d0515e1ba703da2c0f742d91e7b550feac06.tar.lz re3-0ac6d0515e1ba703da2c0f742d91e7b550feac06.tar.xz re3-0ac6d0515e1ba703da2c0f742d91e7b550feac06.tar.zst re3-0ac6d0515e1ba703da2c0f742d91e7b550feac06.zip |
Diffstat (limited to 'src/entities/Physical.h')
-rw-r--r-- | src/entities/Physical.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/entities/Physical.h b/src/entities/Physical.h index 7776da92..0f517cf3 100644 --- a/src/entities/Physical.h +++ b/src/entities/Physical.h @@ -109,9 +109,9 @@ public: // Force actually means Impulse here void ApplyMoveForce(float jx, float jy, float jz); void ApplyMoveForce(const CVector &j) { ApplyMoveForce(j.x, j.y, j.z); } - // v(x,y,z) is direction of force, p(x,y,z) is point relative to model center where force is applied - void ApplyTurnForce(float jx, float jy, float jz, float rx, float ry, float rz); - // v is direction of force, p is point relative to model center where force is applied + // j(x,y,z) is direction of force, p(x,y,z) is point relative to model center where force is applied + void ApplyTurnForce(float jx, float jy, float jz, float px, float py, float pz); + // j is direction of force, p is point relative to model center where force is applied void ApplyTurnForce(const CVector &j, const CVector &p) { ApplyTurnForce(j.x, j.y, j.z, p.x, p.y, p.z); } void ApplyFrictionMoveForce(float jx, float jy, float jz); void ApplyFrictionMoveForce(const CVector &j) { ApplyFrictionMoveForce(j.x, j.y, j.z); } |