git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

commitaa3b4eecfa3a6ce7e39d547fa9b5c46b70ea752e
parent605450d869
authorLucas Galante <[email protected]>
date2026-05-23 18:44
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);
                 }