Moved throw pos and speed calculation from cProjectileEntity into cPlayer.

This commit is contained in:
madmaxoft
2013-08-30 17:29:46 +02:00
parent 1665bfe156
commit 88f3fe7f00
6 changed files with 128 additions and 124 deletions
-6
View File
@@ -112,12 +112,6 @@ public:
// tolua_begin
/// Returns the initial arrow position, as defined by the player eye position + adjustment.
static Vector3d PosFromPlayerPos(const cPlayer & a_Player);
/// Returns the initial arrow speed, as defined by the player look vector and the force coefficient
static Vector3d SpeedFromPlayerLook(const cPlayer & a_Player, double a_Force);
/// Returns whether the arrow can be picked up by players
ePickupState GetPickupState(void) const { return m_PickupState; }