From 5065596f96bdf96f7dd52d35075e8b60a9ab12c3 Mon Sep 17 00:00:00 2001 From: Stephan Rehfeld Date: Wed, 27 May 2026 18:00:05 +0200 Subject: [PATCH] Use Box to break cycle --- src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index a806209..39c498f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,10 @@ use hello::geometry::Geometry; -use hello::math::{Mat4x4, Point3}; +use hello::math::Mat4x4; -/* enum SceneGraphNode { Geometry(Mat4x4, Geometry), - SubNode(Mat4x4, SceneGraphNode), + SubNode(Mat4x4, Box), } -*/ fn main() { let v1 = 5;