13 #define SQUARE_DIST(x1, y1, x2, y2) \
14 (((x1) - (x2)) * ((x1) - (x2)) + ((y1) - (y2)) * ((y1) - (y2)))
26 std::vector<double> &heightVal,
static double findHeightValByNeighbor(Particle *p, Cloth &cloth)
static bool RasterTerrain(Cloth &cloth, const wl::PointCloud &pc, std::vector< double > &heightVal, unsigned KNN=1)
static double findHeightValByScanline(Particle *p, Cloth &cloth)