Add similarity and experimental drawBranch

This commit is contained in:
2026-02-03 15:37:49 +01:00
parent 0dedb2d6b9
commit d7ea0b99ac
9 changed files with 311 additions and 98 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);