Reduced tree depth from 12 to 10

This commit is contained in:
Jopestpe 2025-10-06 15:46:56 -03:00 committed by GitHub
parent 74f4ba744d
commit f5328bf538
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ int main(void)
// Update // Update
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
float theta = angle * DEG2RAD; float theta = angle * DEG2RAD;
int maxBranches = (int)(powf(2, treeDepth) - 1); int maxBranches = (int)(powf(2, (int)(treeDepth)));
Branch branches[4096]; Branch branches[4096];
int count = 0; int count = 0;