nice work jerry, Im loving the 'open' developing going on here, its very interesting to see the nuts and bolts of the development.
Keep up the good work
Keep up the good work
Point3 a = Point3(0,0,0); for (int i=0;i<count;i++) { weight = kernel((pos - blobPos[i]).lengthSqr() / radius2); a+= blobPos[i]*weight; sum_w +=w sum_r += blobRadius[i]*weight //if you support different radius.... } sum_r/=sum_w a/=sum_w fieldstrength = (sum_r-(a-pos).length)
Comment