Procházet zdrojové kódy

follow the conventions 2

pull/5229/head
Jopestpe před 3 dny
odevzdal GitHub
rodič
revize
8b31937dc8
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: B5690EEEBB952194
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      examples/shapes/shapes_recursive_tree.c

+ 2
- 2
examples/shapes/shapes_recursive_tree.c Zobrazit soubor

@ -67,7 +67,7 @@ int main(void)
float theta = angle*DEG2RAD;
int maxBranches = (int)(powf(2, (int)(treeDepth)));
Branch branches[1024];
Branch branches[1024] = { 0 };
int count = 0;
Vector2 initialEnd = CalculateBranchEnd(start, 0.0f, length);
@ -78,7 +78,7 @@ int main(void)
Branch branch = branches[i];
if (branch.length < 2) continue;
float nextLength = branch.length * branchDecay;
float nextLength = branch.length*branchDecay;
if (count < maxBranches && nextLength >= 2)
{

Načítá se…
Zrušit
Uložit