Clean up
This commit is contained in:
parent
ea0304356f
commit
7c70f15e49
65 changed files with 1127 additions and 1911 deletions
|
|
@ -44,7 +44,8 @@ export class GameLoopResources {
|
|||
public constructor(
|
||||
canvas: HTMLCanvasElement,
|
||||
private readonly device: GPUDevice,
|
||||
canvasSize: vec2
|
||||
canvasSize: vec2,
|
||||
initialAgentCapacity: number
|
||||
) {
|
||||
const context = initializeContext({ device, canvas });
|
||||
|
||||
|
|
@ -58,7 +59,7 @@ export class GameLoopResources {
|
|||
|
||||
this.agentGenerationPipeline = new AgentGenerationPipeline(
|
||||
this.device,
|
||||
Math.min(settings.maxAgentCount, appConfig.simulation.budget.adaptiveCapInitial)
|
||||
Math.min(settings.maxAgentCount, initialAgentCapacity)
|
||||
);
|
||||
|
||||
this.agentPipeline = new AgentPipeline(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue