Remove custom radius implementation

This commit is contained in:
Dean Herbert 2022-10-05 18:53:07 +09:00
parent 91d877e893
commit bd82dfc333
1 changed files with 1 additions and 7 deletions

View File

@ -24,13 +24,7 @@ public abstract class SmokeSegment : Drawable, ITexturedShaderDrawable
public IShader? TextureShader { get; private set; }
public IShader? RoundedTextureShader { get; private set; }
private float? radius;
protected float Radius
{
get => radius ?? Texture?.DisplayWidth * 0.165f ?? 3;
set => radius = value;
}
protected float Radius => Texture?.DisplayWidth * 0.165f ?? 3;
protected Texture? Texture { get; set; }