From: Francois Fleuret Date: Thu, 9 Oct 2008 09:47:25 +0000 (+0200) Subject: automatic commit X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=c7531fb9d8d1436cd25128a1c5b0795d8be744ce;p=folded-ctf.git automatic commit --- diff --git a/pi_referential.cc b/pi_referential.cc index ae290f0..f1f6790 100644 --- a/pi_referential.cc +++ b/pi_referential.cc @@ -324,7 +324,6 @@ PiReferential::PiReferential(PoseCell *cell) { _body_xc = cell->_belly_xc.middle() * discrete_scale_ratio; _body_yc = cell->_belly_yc.middle() * discrete_scale_ratio; -// _body_window_scaling = sqrt(_body_radius_1 * _body_radius_2); if((_head_xc - _body_xc) * cos(_body_tilt) + (_head_yc - _body_yc) * sin(_body_tilt) > 0) { _body_tilt += M_PI; @@ -409,8 +408,8 @@ PiReferential::PiReferential(PoseCell *cell) { _body_vx = - sin(_body_tilt) * _body_radius_2 * 2.0; _body_vy = cos(_body_tilt) * _body_radius_2 * 2.0; - _body_edge_shift = int(floor(RichImage::nb_edge_tags * _body_tilt / (2 * M_PI) + 0.5)); - _body_edge_shift = (RichImage::nb_edge_tags + _body_edge_shift) % RichImage::nb_edge_tags; +// _body_edge_shift = int(floor(RichImage::nb_edge_tags * _body_tilt / (2 * M_PI) + 0.5)); +// _body_edge_shift = (RichImage::nb_edge_tags + _body_edge_shift) % RichImage::nb_edge_tags; } int PiReferential::common_scale() { diff --git a/pi_referential.h b/pi_referential.h index b77e3b6..9f3b06c 100644 --- a/pi_referential.h +++ b/pi_referential.h @@ -50,8 +50,7 @@ class PiReferential { scalar_t _body_xc, _body_yc; scalar_t _body_radius_1, _body_radius_2, _body_tilt; scalar_t _body_ux, _body_uy, _body_vx, _body_vy; -// scalar_t _body_window_scaling; - int _body_edge_shift; +// int _body_edge_shift; // The belly frame is defined by the body location and head scale scalar_t _belly_xc, _belly_yc;