graphic design tool
git clone https://git.lucas.co/cce-designer.git
Render Origin vectors in world space using bind_group_3d
src/main.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.rs b/src/main.rs
index 306fe1e..04fae24 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3470,7 +3470,7 @@ fn geometry_to_spreadsheet_data(geom: &Geometry) -> (Vec<String>, Vec<Vec<String
}
if self.show_origin {
- pass.set_bind_group(0, &self.bind_group_grid, &[]);
+ pass.set_bind_group(0, &self.bind_group_3d, &[]);
pass.set_vertex_buffer(0, self.vertex_buffer_origin.slice(..));
pass.draw(0..self.vertex_count_origin, 0..1);
}