diff -r 62a9d46303d9 -r 046c055217f6 demo/descriptor_map_demo.cc --- a/demo/descriptor_map_demo.cc Fri Feb 08 09:56:46 2008 +0000 +++ b/demo/descriptor_map_demo.cc Fri Feb 08 10:18:55 2008 +0000 @@ -61,7 +61,7 @@ : descriptor(_graph), center(_center), radius(_radius) {} Value operator[](const Key& key) const { - double angle = descriptor[key] * 2 * M_PI + double angle = descriptor[key] * 2 * PI / double(descriptor.inverse().size()); double x = std::cos(angle) * radius + center.x; double y = std::sin(angle) * radius + center.y;