Streamline brush settings

This commit is contained in:
Andras Schmelczer 2023-05-28 09:50:30 +01:00
parent a95a5f83a3
commit 8eaee2fa65
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
7 changed files with 94 additions and 34 deletions

View file

@ -21,7 +21,7 @@ fn main(
let direction = position - center;
agents[id] = Agent(
position,
state.size / 2.0,
atan2(direction.y, direction.x),
0,
);