This commit is contained in:
2025-12-04 13:31:30 +01:00
parent 525936c6e7
commit 96f4f51e69
2 changed files with 56 additions and 9 deletions

View File

@@ -32,8 +32,9 @@ private:
Vector2 start = {0};
std::list<DrawArgs> drawCalls;
void drawBranch();
void calculateBranch();
void drawBranch(Vector2 startPoint, Vector2 endPoint, Color startColor, Color endColor, float startThickness, float endThickness);
inline size_t getNumOfBranches(int dep);
inline Color getStartColor(DrawArgs &arg);
inline Color getEndColor(int dep, Color &start);