Add nice mountens

This commit is contained in:
Nikola Petrov
2024-03-09 23:00:02 +01:00
parent bb74873557
commit 03f47bcee5
2 changed files with 21 additions and 33 deletions

View File

@@ -13,8 +13,7 @@ public:
private:
void starts();
void moon();
void mounten();
void drawMounten(int line, int varience, Color color);
void mounten(size_t mountenSegments, float scale, int min, int max, Color color);
int size = 0;
Texture2D texShapes = {1, 1, 1, 1, 7};
@@ -27,8 +26,7 @@ private:
Color moonColor = {240, 240, 190, 255};
int minSizeOfMoon = 40;
int maxSizeOfMoon = 60;
int maxYPosOfMoon = 600;
Color mountenColor = {28, 28, 38, 255};
size_t mountenDataCap = 20;
std::vector<float> mountenData;
};