CSGO: Octagonal box/corner esp
Pretty much done w/ making chets so heres a octagonal esp i made in a day.
p.s. this was done for indigay not gonna help porting to your chets.
gimme big rep if you use in your pchet or whatever
should look somethin like this. didnt bother with outline
// Octagonal Full box
void CRender::DrawOctagonBox(int x, int y, int w, int h, Color color)
{
int iw = w / 4;
int ih = h / 4;
//top part
DrawLine(x, y, x + w, y, color); //top line
DrawLine((x + w) + iw, y + ih, x + w, y, color); //top right
DrawLine(x - iw, y + ih, x, y, color); // top left
//connecting lines
DrawLine(x - iw, y + h - ih, x - iw, y + ih, color); //left line
DrawLine((x + w) + iw, y + h - ih, x + w + iw, y + ih, color); //right line
//bottom part
DrawLine(x, y + h, x + w, y + h, color); //bottom line
DrawLine((x + w) + iw, (y + h) - ih, x + w, y + h, color); //bottom right
DrawLine(x - iw, (y + h) - ih, x, y + h, color); // bottom left
}
// Octagonal Corners only
void CRender::DrawOctagonCoalBox(int x, int y, int w, int h, Color color)
{
int iw = w / 4;
int ih = h / 4;
float wh = w + h / 2;
DrawLine(x, y, x + w, y, color); //top line
DrawLine((x + w) + iw, y + ih, x + w, y, color); //top right
DrawLine(x - iw, y + ih, x, y, color); // top left
DrawLine(x, y + h, x + w, y + h, color); //bottom line
DrawLine((x + w) + iw, (y + h) - ih, x + w, y + h, color); //bottom right
DrawLine(x - iw, (y + h) - ih, x, y + h, color); // bottom left
}
|