public void Reset() { //SetOffsets(); if (_race.Course.DirectionType == Course.WindDirectionType.ConstantManual) { _windAngle = (float)_race.Course.ManualWindAngle + (3f * MathHelper.PiOver2); } else if (_race.Course.DirectionType == Course.WindDirectionType.ConstantCourse) { if (_race.Course.WindFromMark != null && _race.Course.WindToMark != null) { CoordinatePoint from = _race.Course.WindFromMark.AveragedLocation; CoordinatePoint to = _race.Course.WindToMark.AveragedLocation; _windAngle = (float)AngleHelper.FindAngle(to.Project(), from.Project()); } } _renderer.Reset(); }