func in levmarq now handles the distance between two screen points (one projected from the spheres surface), need to define gradient correctly

This commit is contained in:
Jonathan Bosson
2017-04-18 15:57:07 -06:00
parent 4c19391f63
commit 58796ca390
4 changed files with 67 additions and 73 deletions

View File

@@ -83,6 +83,7 @@ struct SelectedBody {
struct FunctionData {
std::vector<glm::dvec3> selectedPoints;
std::vector<glm::dvec2> screenPoints;
int nDOF;
glm::dvec2(*toScreen)(glm::dvec3, Camera*, SceneGraphNode*, double);
Camera* camera;