Move agent
This commit is contained in:
parent
7dbeb2127c
commit
2f765a74a2
3 changed files with 3 additions and 3 deletions
|
|
@ -1,10 +0,0 @@
|
|||
import { vec2 } from 'gl-matrix';
|
||||
|
||||
export interface Agent {
|
||||
position: vec2;
|
||||
angle: number;
|
||||
species: number;
|
||||
timeToLive: number;
|
||||
}
|
||||
|
||||
export const AGENT_SIZE_IN_BYTES = 6 * Float32Array.BYTES_PER_ELEMENT;
|
||||
Loading…
Reference in a new issue