Reduced tree depth from 12 to 10
This commit is contained in:
parent
74f4ba744d
commit
f5328bf538
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user