Commit 15763c1e authored by Luis Penaranda's avatar Luis Penaranda
Browse files

computation of phi max as in the paper

parent 1621788e
......@@ -547,7 +547,7 @@ void OpenGLCanvas::define_triangle_indices(unsigned int * indices, int m, int n)
int OpenGLCanvas::compute_auto_fov_max(int new_fov){
if(new_fov<60)
return 60;
if(new_fov>180)
if(new_fov>179)
return 1;
//if(new_fov>60)
return (90-new_fov/2);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment