public void DrawLine(Vector3 p1, Vector3 p2, Color color) { if (MathTool.ClipLine(m_view_rect, ref p1, ref p2)) { Handles.color = color; Handles.DrawLine(p1, p2); } }