1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 06:28:35 +01:00

rename to fit the style better

This commit is contained in:
Ellpeck 2020-01-04 21:57:10 +01:00
parent 529b725161
commit 6a4d70038a

View file

@ -13,7 +13,7 @@ namespace MLEM.Extended.Extensions {
return random.NextSingle(range.Min, range.Max); return random.NextSingle(range.Min, range.Max);
} }
public static Vector2 Vector2(this Random random, float min, float max) { public static Vector2 NextVector2(this Random random, float min, float max) {
return new Vector2(random.NextSingle(min, max), random.NextSingle(min, max)); return new Vector2(random.NextSingle(min, max), random.NextSingle(min, max));
} }