mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix Fall-of-Shot units being inverted
This commit is contained in:
parent
26fb06f774
commit
8ad202b039
@ -15,8 +15,8 @@ _inclinationP2 = _directionP2 select 1;
|
||||
|
||||
private ["_abscissa", "_ordinate", "_applicate"];
|
||||
|
||||
_abscissa = _distanceP1 * sin (_azimuthP1 - _azimuthP2);
|
||||
_ordinate = _distanceP1 * cos (_inclinationP1 - _inclinationP2) - _distanceP2 * cos (_azimuthP1 - _azimuthP2);
|
||||
_abscissa = _distanceP1 * cos (_inclinationP1 - _inclinationP2) - _distanceP2 * cos (_azimuthP1 - _azimuthP2);
|
||||
_ordinate = _distanceP1 * sin (_azimuthP1 - _azimuthP2);
|
||||
_applicate = (sin _inclinationP2 * _distanceP2) - (sin _inclinationP1 * _distanceP1);
|
||||
|
||||
if (_distanceP1 < -999 || {_distanceP2 < -999}) exitWith {
|
||||
|
Loading…
Reference in New Issue
Block a user