feat: implement MeshLoader

This loader abstracts mesh loading logic into a series of individual file handlers. Each handler is chosen based on the extension of the file to be loaded.
This commit is contained in:
alphafetus committed 2026-08-07 23:46:12 -04:00
1 parent b7e31732e6
commit ba9b677545
9 files changed
+157 -48

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
use std::path::Path;
use anyhow::Result;
use crate::loaders::mesh_loader::{MeshFileLoader, MeshInfo};
pub struct GltfLoader;
impl MeshFileLoader for GltfLoader {
fn load_mesh(&self, path: &Path) -> Result<MeshInfo> {
todo!()
}
}