Ejemplo n.º 1
0
        public void Draw(SharpRenderer renderer)
        {
            renderer.DrawSphere(world, isSelected, renderer.sfxColor);

            if (isSelected)
            {
                renderer.DrawSphere(world2, false, renderer.sfxColor);
            }
        }
Ejemplo n.º 2
0
        public void Draw(SharpRenderer renderer)
        {
            if (dontRender || isInvisible)
            {
                return;
            }

            renderer.DrawSphere(world, isSelected, renderer.sfxColor);

            if (isSelected)
            {
                renderer.DrawSphere(world2, false, renderer.sfxColor);
            }
        }
Ejemplo n.º 3
0
 public void Draw(SharpRenderer renderer)
 {
     if (IsZone == 1 || _arenaRadius == -1f)
     {
         renderer.DrawPyramid(world, isSelected, 1f);
     }
     else
     {
         renderer.DrawSphere(world, isSelected, renderer.mvptColor);
     }
 }
Ejemplo n.º 4
0
        public override void Draw(SharpRenderer renderer)
        {
            if (dontRender || isInvisible)
            {
                return;
            }

            if (Shape == TriggerShape.Box)
            {
                renderer.DrawCube(world, isSelected, 1f);
            }
            else if (Shape == TriggerShape.Sphere)
            {
                renderer.DrawSphere(world, isSelected, renderer.trigColor);
            }
            else
            {
                renderer.DrawCylinder(world, isSelected, renderer.trigColor);
            }
        }
Ejemplo n.º 5
0
        public override void Draw(SharpRenderer renderer)
        {
            if (Shape == TriggerShape.Box)
            {
                renderer.DrawCube(world, isSelected, 1f);
            }
            else if (Shape == TriggerShape.Sphere)
            {
                renderer.DrawSphere(world, isSelected, renderer.trigColor);
            }
            else
            {
                renderer.DrawCylinder(world, isSelected, renderer.trigColor);
            }

            if (isSelected)
            {
                renderer.DrawCube(pivotWorld, isSelected);
            }
        }