mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Merge branch 'master' into positional-sounds-strength-adjustment
This commit is contained in:
@ -188,12 +188,12 @@ namespace osu.Game.Rulesets.Objects.Legacy
|
||||
string[] split = str.Split(':');
|
||||
|
||||
var bank = (LegacySampleBank)Parsing.ParseInt(split[0]);
|
||||
var addbank = (LegacySampleBank)Parsing.ParseInt(split[1]);
|
||||
var addBank = (LegacySampleBank)Parsing.ParseInt(split[1]);
|
||||
|
||||
string stringBank = bank.ToString().ToLowerInvariant();
|
||||
if (stringBank == @"none")
|
||||
stringBank = null;
|
||||
string stringAddBank = addbank.ToString().ToLowerInvariant();
|
||||
string stringAddBank = addBank.ToString().ToLowerInvariant();
|
||||
if (stringAddBank == @"none")
|
||||
stringAddBank = null;
|
||||
|
||||
|
@ -250,13 +250,13 @@ namespace osu.Game.Rulesets.Objects
|
||||
if (subControlPoints.Length != 3)
|
||||
break;
|
||||
|
||||
List<Vector2> subpath = PathApproximator.ApproximateCircularArc(subControlPoints);
|
||||
List<Vector2> subPath = PathApproximator.ApproximateCircularArc(subControlPoints);
|
||||
|
||||
// If for some reason a circular arc could not be fit to the 3 given points, fall back to a numerically stable bezier approximation.
|
||||
if (subpath.Count == 0)
|
||||
if (subPath.Count == 0)
|
||||
break;
|
||||
|
||||
return subpath;
|
||||
return subPath;
|
||||
|
||||
case PathType.Catmull:
|
||||
return PathApproximator.ApproximateCatmull(subControlPoints);
|
||||
|
Reference in New Issue
Block a user