StarArawn / harmony

A modern 3D/2D game engine that uses wgpu.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AppState api is a bit weird.

StarArawn opened this issue · comments

commented

Originally I had meant for the API to be a bit more linear. Like:

pub fn render(&mut self, app: Application) {
  self.my_mesh.render(app);
}

but I realized that ECS fits with my over all goal a bit more. This means that I need to look into either replacing AppState all together in favor of something more inline with ECS. Or somehow work AppState into ECS.

commented

I've changed the API a bit more to make more sense, but it still needs some work. For now I'm closing this issue.