Changeset 1686:a5b8e0fde2be in lemon-0.x for gui
- Timestamp:
- 09/16/05 11:01:20 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2208
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/mapstorage.cc
r1649 r1686 1 1 #include "mapstorage.h" 2 2 #include <gtkmm.h> 3 #include <cmath> 4 3 5 #include <cmath> 4 6 … … 209 211 for (NodeIt n(graph); n != INVALID; ++n) 210 212 { 211 nodemap_storage["coordinates_x"]->set(n, 250.0 * cos(i * step));212 nodemap_storage["coordinates_y"]->set(n, 250.0 * s in(i * step));213 nodemap_storage["coordinates_x"]->set(n, 250.0 * std::cos(i * step)); 214 nodemap_storage["coordinates_y"]->set(n, 250.0 * std::sin(i * step)); 213 215 i++; 214 216 }
Note: See TracChangeset
for help on using the changeset viewer.