public virtual void inheritShape(Base_ProceduralWing parent) { inheritBase(parent); TipWidth = RootWidth + ((parent.TipWidth - parent.RootWidth) / (parent.Length)) * Length; TipOffset = Length / parent.Length * parent.TipOffset; TipThickness = RootThickness + ((parent.TipThickness - parent.RootThickness) / parent.Length) * Length; }
public virtual void inheritBase(Base_ProceduralWing parent) { RootWidth = parent.TipWidth; RootThickness = parent.TipThickness; }