idea context is the thread setup and owns the state instance defined by other file

This commit is contained in:
Quaternions 2023-10-23 19:05:11 -07:00
parent 44831bd14b
commit cbc7b56f28
3 changed files with 7 additions and 1 deletions

6
src/graphics_context.rs Normal file
View File

@ -0,0 +1,6 @@
struct Context{
device:wgpu::Device,
queue:wgpu::Queue,
}
//??

View File

@ -12,8 +12,8 @@ mod settings;
mod primitives;
mod instruction;
mod load_roblox;
mod render_thread;
mod model_graphics;
mod physics_context;
mod graphics_context;
fn load_file(path: std::path::PathBuf)->Option<model::IndexedModelInstances>{