summaryrefslogtreecommitdiffstats
path: root/src/entities/Physical.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-06 00:47:26 +0200
committereray orçunus <erayorcunus@gmail.com>2019-07-06 00:52:14 +0200
commit769c2812ffb317829dbef8b258ef3d2ebed7b484 (patch)
tree5c056bab681e962de1a7bb2ade0a120568cc06fa /src/entities/Physical.h
parentCPed... (diff)
parentfinished CDamageManager (diff)
downloadre3-769c2812ffb317829dbef8b258ef3d2ebed7b484.tar
re3-769c2812ffb317829dbef8b258ef3d2ebed7b484.tar.gz
re3-769c2812ffb317829dbef8b258ef3d2ebed7b484.tar.bz2
re3-769c2812ffb317829dbef8b258ef3d2ebed7b484.tar.lz
re3-769c2812ffb317829dbef8b258ef3d2ebed7b484.tar.xz
re3-769c2812ffb317829dbef8b258ef3d2ebed7b484.tar.zst
re3-769c2812ffb317829dbef8b258ef3d2ebed7b484.zip
Diffstat (limited to 'src/entities/Physical.h')
-rw-r--r--src/entities/Physical.h6
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); }