Middle Mouse Button doesn't reset FOV

Report bugs, bug fixes and workarounds here.
Topic author
abiogenesis
Posts: 104
Joined: 07.06.2002
With us: 22 years 5 months
Location: Redmond, WA

Middle Mouse Button doesn't reset FOV

Post #1by abiogenesis » 14.06.2002, 17:16

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-

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Middle Mouse Button doesn't reset FOV

Post #2by chris » 14.06.2002, 18:43

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

Topic author
abiogenesis
Posts: 104
Joined: 07.06.2002
With us: 22 years 5 months
Location: Redmond, WA

Post #3by abiogenesis » 14.06.2002, 18:46

Very cool, thanks.


Return to “Bugs”