From e5e8ad878b7abf4f6038cea2ff152547202d626f Mon Sep 17 00:00:00 2001 From: Marc Planard Date: Thu, 6 Jul 2023 20:26:06 +0200 Subject: [PATCH] micro-cleanup --- src/worldstate.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/worldstate.rs b/src/worldstate.rs index 426dc1c..bf5ecc9 100644 --- a/src/worldstate.rs +++ b/src/worldstate.rs @@ -16,15 +16,7 @@ impl EDH { vec[2].len() != 3 { return Err(Box::new(LJError::BadEDH)); } - // - // [FIX] Not sure of the order, if is it's vec[x][y] or vec[y][x] ... - // - /* - let matrix = Matrix3::new(vec[0][0], vec[0][1], vec[0][2], - vec[1][0], vec[1][1], vec[1][2], - vec[2][0], vec[2][1], vec[2][2]); - */ - + // this is the matrix already transposed. let matrix = Matrix3::new(vec[0][0], vec[1][0], vec[2][0], vec[0][1], vec[1][1], vec[2][1],