Page 1 of 1

Middle Mouse Button doesn't reset FOV

Posted: 14.06.2002, 17:16
by abiogenesis
If this has already been mentioned, I apologize.

The controls.txt file says that the middle mouse button resets the field of view to 45 degrees. This would be a useful function since it's difficult to be precise with the other zoom methods.

I looked through the source code and couldn't find any handling of the middle mouse button. No calls to renderer->setFieldOfView(45.0f), either. I tried to add the call, but it doesn't work. Perhaps GLut doesn't recognize the middle mouse button? It's defined in the header file though...

Anyway, I'm sure it's no big deal. Just an inconsistency with the documentation.

-abiogenesis-

Middle Mouse Button doesn't reset FOV

Posted: 14.06.2002, 18:43
by chris
This has been fixed already (thanks Fridger!) . . . In 1.2.5, the middle mouse button will toggle between a 45 degree FOV and the last FOV set.

--Chris

Posted: 14.06.2002, 18:46
by abiogenesis
Very cool, thanks.