From 6c0678ca1dbd0ba7a8d18ef04f2d283c7247e44a Mon Sep 17 00:00:00 2001 From: Marc Planard Date: Sat, 1 Jul 2023 17:17:33 +0200 Subject: [PATCH] cleanup --- src/transformer/homography.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/transformer/homography.rs b/src/transformer/homography.rs index 0713583..f054319 100644 --- a/src/transformer/homography.rs +++ b/src/transformer/homography.rs @@ -2,8 +2,7 @@ use crate::transformer::Transformers; use crate::point::Point; use crate::worldstate::{WorldState,EDH}; use serde::{Serialize,Deserialize}; -use log::info; -use nalgebra::Matrix3; +use log::debug; use nalgebra::Matrix1x3; /// Homography @@ -21,7 +20,7 @@ impl Transformers for Homography { let p = p * edh.matrix; let new_p = Point { x: p[0] / p[2], y: p[1] / p[2], ..*point }; - dbg!("{:?} => {:?}", point, new_p); + debug!("{:?} => {:?}", point, new_p); new_p })