This commit is contained in:
Nikola Petrov 2024-12-20 23:03:12 +01:00
parent 562cfab1cd
commit 8ad328eb1e
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ public:
void draw();
private:
void drawStarts();
void drawStars();
void drawSun();
void drawMounten(size_t mountenSegments, int min, int max, Color color);

View File

@ -38,7 +38,7 @@ void BackGround::draw()
if (colorSet == 3)
{
ClearBackground(BackGroundColors::backGroundColor);
drawStarts();
drawStars();
}
else
{
@ -51,7 +51,7 @@ void BackGround::draw()
drawMounten(23, (int)(mounten3min * size), (int)(mounten3max * size), BackGroundColors::MountenColor3);
}
void BackGround::drawStarts()
void BackGround::drawStars()
{
rlSetTexture(1);
rlBegin(RL_TRIANGLES);