mirror of
https://codeberg.org/icewind/vbsp-to-gltf.git
synced 2026-06-03 18:24:07 +02:00
node name
This commit is contained in:
parent
cbccb8ae3d
commit
5024b166ff
2 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ pub fn push_bsp_model(
|
||||||
extras: Default::default(),
|
extras: Default::default(),
|
||||||
matrix: None,
|
matrix: None,
|
||||||
mesh: Some(Index::new(mesh_index)),
|
mesh: Some(Index::new(mesh_index)),
|
||||||
name: None,
|
name: Some("bsp".into()),
|
||||||
rotation: None,
|
rotation: None,
|
||||||
scale: None,
|
scale: None,
|
||||||
translation: Some(map_coords(offset)),
|
translation: Some(map_coords(offset)),
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ fn export(bsp: Bsp, loader: &Loader) -> Result<Glb<'static>, Error> {
|
||||||
matrix.w.z, matrix.w.w,
|
matrix.w.z, matrix.w.w,
|
||||||
]),
|
]),
|
||||||
mesh: Some(mesh),
|
mesh: Some(mesh),
|
||||||
name: None,
|
name: Some(prop.model().into()),
|
||||||
rotation: None,
|
rotation: None,
|
||||||
scale: None,
|
scale: None,
|
||||||
translation: None,
|
translation: None,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue