From 4e7a6815a9f10c08cc4b4655cbfb1977c0e8149d Mon Sep 17 00:00:00 2001 From: commy2 Date: Sat, 15 Jun 2019 17:09:38 +0200 Subject: [PATCH] optimize CBA_fnc_randomVector3D (#1164) --- addons/vectors/fnc_randomVector3D.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/vectors/fnc_randomVector3D.sqf b/addons/vectors/fnc_randomVector3D.sqf index 659238319..cb07a9d2a 100644 --- a/addons/vectors/fnc_randomVector3D.sqf +++ b/addons/vectors/fnc_randomVector3D.sqf @@ -20,4 +20,4 @@ Author: commy2 ---------------------------------------------------------------------------- */ -[1, random 360, acos (random 2 - 1) - 90] call CBA_fnc_polar2vect // return +[1, random 360, asin (random 2 - 1)] call CBA_fnc_polar2vect // return