Use Box<T> to break cycle

This commit is contained in:
Stephan Rehfeld 2026-05-27 18:00:05 +02:00
parent 8cd294c44a
commit 5065596f96

View File

@ -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<SceneGraphNode>),
}
*/
fn main() {
let v1 = 5;