mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Enforce readonly private members where possible.
This commit is contained in:
@ -8,10 +8,10 @@ namespace osu.Game.Modes.Objects
|
||||
{
|
||||
public class BezierApproximator
|
||||
{
|
||||
private int count;
|
||||
private List<Vector2> controlPoints;
|
||||
private Vector2[] subdivisionBuffer1;
|
||||
private Vector2[] subdivisionBuffer2;
|
||||
private readonly int count;
|
||||
private readonly List<Vector2> controlPoints;
|
||||
private readonly Vector2[] subdivisionBuffer1;
|
||||
private readonly Vector2[] subdivisionBuffer2;
|
||||
|
||||
private const float tolerance = 0.25f;
|
||||
private const float tolerance_sq = tolerance * tolerance;
|
||||
|
Reference in New Issue
Block a user