Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Luis Penaranda
panoramic
Commits
b814f6e7
Commit
b814f6e7
authored
Jan 25, 2013
by
Luis Peñaranda
Browse files
avoided fov_max=0
parent
b102f57b
Changes
1
Hide whitespace changes
Inline
Side-by-side
openglcanvas.cpp
View file @
b814f6e7
...
...
@@ -87,7 +87,7 @@ void OpenGLCanvas::change_fov(int new_fov){
}
void
OpenGLCanvas
::
change_fov_max
(
int
new_fov_max
){
if
(
new_fov_max
<=
360
&&
new_fov_max
>=
0
)
if
(
new_fov_max
<=
360
&&
new_fov_max
>=
1
)
fov_max
=
(
double
)
new_fov_max
;
if
(
fov
<=
fov_max
)
scale
=
1.
f
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment