From e7513cbaf33d2ffd79aa30245058dda6b60ff682 Mon Sep 17 00:00:00 2001 From: commy2 Date: Sat, 15 Jun 2019 11:05:07 +0200 Subject: [PATCH] optimize CBA_fnc_randomVector3D --- 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