find minimum vector q that applies to the transform in camera space

This commit is contained in:
Jonathan Bosson
2017-04-20 17:02:19 -06:00
parent 0542e7cef5
commit c129bf1112
2 changed files with 26 additions and 24 deletions

View File

@@ -85,7 +85,7 @@ struct FunctionData {
std::vector<glm::dvec3> selectedPoints;
std::vector<glm::dvec2> screenPoints;
int nDOF;
glm::dvec2(*toScreen)(glm::dvec3, Camera*, SceneGraphNode*, double);
glm::dvec2(*castToScreen)(glm::dvec3, Camera*, SceneGraphNode*, double);
double(*distToMinimize)(double* par, int x, void* fdata);
Camera* camera;
SceneGraphNode* node;