Use angle instead of direction

This commit is contained in:
Andras Schmelczer 2023-05-20 11:45:11 +01:00
commit 6351a67703
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
5 changed files with 19 additions and 16 deletions

View file

@ -2,7 +2,7 @@ import { vec2 } from 'gl-matrix';
export interface Agent {
position: vec2;
direction: vec2;
angle: number;
species: number;
timeToLive: number;
}