Exercise_8_08_09_TreeArrayListLeaves 'pos' and 'loc' names
opened this issue · comments
The-Nature-of-Code-Examples-master\chp08_fractals\Exercise_8_08_09_TreeArrayListLeaves\Leaf.pde
This:
class Leaf {
PVector pos;
Leaf(PVector l) {
loc = l.get();
}
Should be this:
class Leaf {
PVector pos;
Leaf(PVector l) {
pos = l.get();
}
or this:
class Leaf {
PVector loc;
Leaf(PVector l) {
loc = l.get();
}