fix: correct tuple wrapping in Reify implementation for line rendering
This commit is contained in:
@@ -165,14 +165,14 @@ impl Reify for BridgeState {
|
|||||||
}
|
}
|
||||||
lines.push(Line { points: yz_points, cyclic: true });
|
lines.push(Line { points: yz_points, cyclic: true });
|
||||||
|
|
||||||
(
|
Some((
|
||||||
*id,
|
*id,
|
||||||
Lines::new(lines)
|
Lines::new(lines)
|
||||||
.pos([trans.x, trans.y, trans.z])
|
.pos([trans.x, trans.y, trans.z])
|
||||||
.rot([rot.x, rot.y, rot.z, rot.w])
|
.rot([rot.x, rot.y, rot.z, rot.w])
|
||||||
.scl([vis_scale.x, vis_scale.y, vis_scale.z])
|
.scl([vis_scale.x, vis_scale.y, vis_scale.z])
|
||||||
.build()
|
.build()
|
||||||
)
|
))
|
||||||
},
|
},
|
||||||
3 if !node.model_url.is_empty() => {
|
3 if !node.model_url.is_empty() => {
|
||||||
// Model entity - would load from URL
|
// Model entity - would load from URL
|
||||||
|
|||||||
Reference in New Issue
Block a user