void DrawDisconnectedLine(IEnumerable<float3> points, float width, Color color) { using (var e = points.GetEnumerator()) { if (!e.MoveNext()) return; var lastPoint = e.Current; while (e.MoveNext()) { var point = e.Current; DrawLine(lastPoint, point, width, color); lastPoint = point; } } }