mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
Flock: Use Symbol#place() instead.
This commit is contained in:
parent
02408fc47e
commit
322a427208
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
this.r = 30;
|
||||
this.maxSpeed = maxSpeed + strength;
|
||||
this.maxForce = maxForce + strength;
|
||||
this.head = new PlacedSymbol(headSymbol);
|
||||
this.head = headSymbol.place();
|
||||
this.path = new Path();
|
||||
this.shortPath = new Path();
|
||||
this.shortPath.strokeWidth = 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue