//Axis lines private void CreateWcsPath(Color clr) { clsDisplayList p = new clsDisplayList(); if ((mPoints.Count < 2)) return; { p.Color = clr; p.Rapid = (mCurMotion == Motion.RAPID); p.Points = mPoints.ToArray(); } mWcsDisplayLists.Add(p); mPoints.Clear(); }
private void CreateDisplayList(bool rapid) { clsDisplayList p = new clsDisplayList(); if ((mPoints.Count < 2)) return; { p.Color = mCurColor; p.Rapid = rapid; p.ParentIndex = mGfxIndex; p.Points = mPoints.ToArray(); } mDisplayLists.Add(p); mPoints.Clear(); }