Exemple #1
0
        public static bool RenderOverlay(
            RenderManager.CameraInfo cameraInfo, Color color, ushort segmentID, Vector3 hitPos)
        {
            Vector3 pos = segmentID.ToSegment().GetClosestPosition(hitPos);
            float   hw  = segmentID.ToSegment().Info.m_halfWidth;

            RenderUtil.DrawOverlayCircle(cameraInfo, color, pos, hw, true);
            return(true);
        }