feat: update Reify implementation to use Spatial with transform for dense wireframe cubes
This commit is contained in:
@@ -184,9 +184,11 @@ impl Reify for BridgeState {
|
||||
|
||||
// Entity types: 0=Unknown, 1=Box, 2=Sphere, 3=Model
|
||||
// For now, render all as dense wireframe cubes (which we know works)
|
||||
let mut spatial = Spatial::default();
|
||||
spatial.set_transform(transform);
|
||||
Some((
|
||||
*id,
|
||||
Spatial::from(transform).build().child(
|
||||
spatial.build().child(
|
||||
Lines::new(cube_lines).build()
|
||||
)
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user