add Color class for easy change

This commit is contained in:
Nikola Petrov
2024-05-02 20:50:45 +02:00
parent 513874d61c
commit eb4020a4ee
4 changed files with 39 additions and 14 deletions

View File

@@ -18,12 +18,8 @@ private:
int size = 0;
Texture2D texShapes = {1, 1, 1, 1, 7};
Color backGroundColor = {21, 34, 56, 255};
size_t numOfStarts = 150;
Color starColor = WHITE;
Color moonColor = {240, 240, 190, 255};
float minSizeOfMoon = 0.05f;
float maxSizeOfMoon = 0.075f;
float maxYPosOfMoon = 0.75f;
@@ -32,8 +28,6 @@ private:
float bigRingBlend = 0.02f;
float smallRingBlend = 0.05f;
Color backMountenColor = {28, 28, 38, 255};
Color frontMountenColor = {0, 0, 0, 255};
float colorRatio1 = 0.3f;
float colorRatio2 = 0.5f;
float mounten1 = 0.6875f;