diff options
author | N.N. <sevyves@users.sourceforge.net> | 2009-09-05 17:06:25 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2009-09-05 17:06:25 +0000 |
commit | b8c405d429c3312abd255fcd6ab22485aa48b77c (patch) | |
tree | 11e59c6a042bc3ffa1fad27c8947b75ea5192af4 /pix_opencv_surf.cc | |
parent | 5ae144ffeb8ac5efe3f63cf35a8d1c490ae05f4e (diff) |
bugs fixing
svn path=/trunk/externals/pix_opencv/; revision=12244
Diffstat (limited to 'pix_opencv_surf.cc')
-rwxr-xr-x | pix_opencv_surf.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pix_opencv_surf.cc b/pix_opencv_surf.cc index c1cfe9a..3ac75fa 100755 --- a/pix_opencv_surf.cc +++ b/pix_opencv_surf.cc @@ -871,7 +871,7 @@ void pix_opencv_surf :: delaunayMessCallback(void *data, t_symbol *s) void pix_opencv_surf :: pdelaunayMessCallback(void *data, t_floatarg fpoint, t_floatarg fthreshold) { - GetMyClass(data)->pdelaunayMess(fpoint, fthreshold); + GetMyClass(data)->pdelaunayMess((float)fpoint, (float)fthreshold); } void pix_opencv_surf :: nightModeMess(float nightmode) @@ -994,12 +994,13 @@ void pix_opencv_surf :: delaunayMess(t_symbol *s) x_delaunay = -1; } -void pix_opencv_surf :: pdelaunayMess(t_floatarg point, t_floatarg threshold) +void pix_opencv_surf :: pdelaunayMess(float point, float threshold) { if (((int)point>0) && ((int)point<MAX_MARKERS)) { x_delaunay = (int)point; x_threshold = (int)threshold; + // post( "pix_opencv_surf : setting threshold to : %d", x_threshold ); } } |