public static void DrawRect(float x, float y, float z, float width, float height, int lineWidth, Color4 color) { GL.PolygonMode(MaterialFace.FrontAndBack, PolygonMode.Line); GL.LineWidth(lineWidth); FillRect(x, y, z, width, height, color); GL.PolygonMode(MaterialFace.FrontAndBack, PolygonMode.Fill); }