removed streflop from map editor

This commit is contained in:
Mark Vejvoda
2010-06-01 21:21:07 +00:00
parent 29620817d8
commit bab0e87141

View File

@@ -12,8 +12,7 @@
#include "map.h"
//#include <cmath>
#include "math_wrapper.h"
#include <cmath>
#include <stdexcept>
using namespace Shared::Util;
@@ -77,11 +76,7 @@ static int get_dist(int delta_x, int delta_y) {
float dx = delta_x;
float dy = delta_y;
#ifdef USE_STREFLOP
return static_cast<int>(streflop::sqrtf(dx * dx + dy * dy));
#else
return static_cast<int>(sqrtf(dx * dx + dy * dy));
#endif
}
void Map::glestChangeHeight(int x, int y, int height, int radius) {