[GEM-cvs] Gem/src/Pixes libfidtrack_fidtrackX.cpp,1.2,1.3
Brought to you by:
zmoelnig
From: IOhannes m z. <zmo...@us...> - 2006-05-08 17:17:33
|
Update of /cvsroot/pd-gem/Gem/src/Pixes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18739/src/Pixes Modified Files: libfidtrack_fidtrackX.cpp Log Message: explicit casts to (float) to shut up warnings Index: libfidtrack_fidtrackX.cpp =================================================================== RCS file: /cvsroot/pd-gem/Gem/src/Pixes/libfidtrack_fidtrackX.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** libfidtrack_fidtrackX.cpp 22 Jan 2006 21:29:28 -0000 1.2 --- libfidtrack_fidtrackX.cpp 7 May 2006 10:00:03 -0000 1.3 *************** *** 252,258 **** black_y = (double)ft->black_y_sum / (double)ft->black_leaf_count; ! f->x = all_x; ! f->y = all_y; ! f->angle = (M_PI * 2) - calculate_angle( all_x - black_x, all_y - black_y ); /* --- 252,258 ---- black_y = (double)ft->black_y_sum / (double)ft->black_leaf_count; ! f->x = (float)all_x; ! f->y = (float)all_y; ! f->angle = (float)((M_PI * 2) - calculate_angle( all_x - black_x, all_y - black_y )); /* |