wip: week of changes

This commit is contained in:
reo 2025-08-16 21:24:10 +03:00
parent 03e8f34dba
commit 176ea52ab0
20 changed files with 171 additions and 47 deletions

View file

@ -1,9 +1,20 @@
use std::collections::HashMap;
use std::path::{Path, PathBuf};
pub struct Scene {
title: String,
world: hecs::World,
skybox_texture_path: String,
skybox_texture_path: Option<PathBuf>,
}
impl Scene {
pub fn new(title: String, skybox_texture_path: Option<PathBuf>) -> Self {
Self {
title,
world: hecs::World::new(),
skybox_texture_path,
}
}
}
impl AsRef<Scene> for Scene {