dialog WIP paths consolidation and rendering
This commit is contained in:
@@ -8,6 +8,7 @@ use crate::components::{MeshComponent, PhysicsComponent, TreeInstancesComponent}
|
||||
use crate::entity::EntityHandle;
|
||||
use crate::loaders::mesh::{InstanceData, InstanceRaw, Mesh};
|
||||
use crate::loaders::terrain::load_heightfield_from_exr;
|
||||
use crate::paths;
|
||||
use crate::physics::PhysicsManager;
|
||||
use crate::render;
|
||||
use crate::world::{Transform, World};
|
||||
@@ -33,8 +34,8 @@ impl TerrainConfig
|
||||
pub fn default() -> Self
|
||||
{
|
||||
Self {
|
||||
gltf_path: "meshes/terrain.gltf".to_string(),
|
||||
heightmap_path: "textures/terrain_heightmap.exr".to_string(),
|
||||
gltf_path: paths::meshes::terrain(),
|
||||
heightmap_path: paths::textures::terrain_heightmap(),
|
||||
size: Vec2::new(1000.0, 1000.0),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user