Epoch/Sources/epoch_server/compile/epoch_server/EPOCH_precisionPos.sqf
2016-06-13 11:54:19 -05:00

18 lines
506 B
Plaintext

/*
Author: Aaron Clark - EpochMod.com
Contributors:
Description:
Splits a position into two arrays: Whole number array and decimal array.
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_server/compile/epoch_server/EPOCH_precisionPos.sqf
*/
private["_low"];
_low = _this apply {_x - (_x % 1)};
[_low, _this vectorDiff _low]