Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

FRandRange error! #111

Open
FJays opened this issue Nov 5, 2019 · 0 comments
Open

FRandRange error! #111

FJays opened this issue Nov 5, 2019 · 0 comments

Comments

@FJays
Copy link
Contributor

FJays commented Nov 5, 2019

In file \Managed\UnrealEngine.Runtime\UnrealEngine.Runtime\Core\Math\FMath_UnrealMathUtility.cs

        /// <summary>
        /// Util to generate a random number in a range.
        /// </summary>
        public static float FRandRange(float min, float max)
        {
            return min + (max - min) + FRand();
        }

return min + (max - min) + FRand();

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant