COIN-OR::LEMON - Graph Library

Changeset 2568:046c055217f6 in lemon-0.x for demo/descriptor_map_demo.cc


Ignore:
Timestamp:
02/08/08 11:18:55 (12 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3449
Message:

Math constants + configure bugfix backported
from hg a315a588a20d and 761622e5ed4c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/descriptor_map_demo.cc

    r2553 r2568  
    6262
    6363  Value operator[](const Key& key) const {
    64     double angle = descriptor[key] * 2 * M_PI
     64    double angle = descriptor[key] * 2 * PI
    6565      / double(descriptor.inverse().size());
    6666    double x = std::cos(angle) * radius + center.x;
Note: See TracChangeset for help on using the changeset viewer.