示例#1
0
        private void internalDraw(DrawingContext ctx, Vector3 loc)
        {
            var vecCenter = loc + new Vector3(0, 1, 0);

            ctx.DrawOutlinedBox(vecCenter, new Vector3(1.0f * 1.0f), NodeColor);

            ctx.DrawCircleWithPoint(
                vecCenter,
                0.0f,
                Radius,
                RangeColor, RangeColor);
        }
示例#2
0
 private void internalDraw(DrawingContext ctx, Vector3 loc, float heading)
 {
     ctx.DrawCircleWithPoint(loc, heading, Radius, Color, PointColor);
 }