Rename species to generation

This commit is contained in:
Andras Schmelczer 2023-05-21 13:53:06 +01:00
commit f3f2547724
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
10 changed files with 31 additions and 31 deletions

View file

@ -3,7 +3,7 @@ import { vec2 } from 'gl-matrix';
export interface Agent {
position: vec2;
angle: number;
species: number;
generation: number;
}
export const AGENT_SIZE_IN_BYTES = 4 * Float32Array.BYTES_PER_ELEMENT;