Пример #1
0
        public static void DrawPoint(GeneralPoint p)
        {
            GL.LineWidth(2);

            Vector3 pos = p.useStartPos ? p.startPos : new Vector3(p.x, p.y, p.z);

            GL.Color3(Color.Red);
            RenderTools.drawCubeWireframe(pos, 3);
        }
Пример #2
0
        public static void DrawEnemySpawners()
        {
            GL.LineWidth(2);

            foreach (EnemyGenerator c in Runtime.TargetLVD.enemySpawns)
            {
                GL.Color4(Color.FromArgb(200, Color.Fuchsia));
                foreach (EnmSection s in c.sections)
                {
                    RenderTools.drawCubeWireframe(new Vector3(s.x, s.y, s.z), 3);
                }
                GL.Color4(Color.FromArgb(200, Color.Yellow));
                foreach (EnmSection s in c.sections2)
                {
                    RenderTools.drawCubeWireframe(new Vector3(s.x, s.y, s.z), 3);
                }
            }
        }