public override void Draw() { base.Draw((!this.front) ? this.def.altitudeLayer.AltitudeFor() : (this.def.altitudeLayer.AltitudeFor() + 0.1f * GenMath.InverseLerp(0f, this.treeHeight, this.currentSpatialPosition.y) * 2f)); }
public override void Draw() { Draw((!front) ? def.altitudeLayer.AltitudeFor() : (def.altitudeLayer.AltitudeFor() + 0.1f * GenMath.InverseLerp(0f, treeHeight, currentSpatialPosition.y) * 2f)); }