public override void Draw()
{
InitDraw();
if (m_PrimaryShape != null)
{
m_PrimaryShape.Draw();
}
for (int i = 0; i < m_Points.Length; i++)
{
Handles.DrawLine(m_Points[i], m_SecondaryPoints[i], c_LineThickness);
// Makes the arrow heads a lot nicer for close casts
var cone = Mathf.Lerp(0f, c_ConeSize, m_Distance / 20f);
cone = Mathf.Clamp(cone, 0.1f, c_ConeSize);
Handles.ConeHandleCap(0, m_ConePoints[i], m_LookRotation, cone, EventType.Repaint);
}
if (m_IsFiniteDistance && m_SecondaryShape != null)
{
m_SecondaryShape.Draw();
}
}