Move model files to resources/models
This commit is contained in:
parent
5358fea0f9
commit
5df8738711
14 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ fn main() -> Result<()> {
|
||||||
let mut time = time::Time::new();
|
let mut time = time::Time::new();
|
||||||
|
|
||||||
let object_ent = {
|
let object_ent = {
|
||||||
let mesh = model::load_gltf("resources/monkey-smooth.gltf", &display)?;
|
let mesh = model::load_gltf("resources/models/monkey.gltf", &display)?;
|
||||||
ecsr.spawn_mesh(mesh, Transform {
|
ecsr.spawn_mesh(mesh, Transform {
|
||||||
translation: Vec3::ZERO,
|
translation: Vec3::ZERO,
|
||||||
rotation: Quat::IDENTITY,
|
rotation: Quat::IDENTITY,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue