mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 04:53:29 +01:00
rename to fit the style better
This commit is contained in:
parent
529b725161
commit
6a4d70038a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ namespace MLEM.Extended.Extensions {
|
|||
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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue