Dogcow
10-25-2002, 07:21 AM
The only camera tutorial I've been able to find uses GetKeyState, which unless I'm mistaken is part of visual C++. I intended to have my display loop call a checkMovement method which in turn would use GetKeyState to see if a key is pressed. If one of the movement keys is being pressed, the checkMovement method will call one of the camera methods which in turn would make the necessary calculations then apply the changes to gluLookAt.
Is there another keyboard listener that I can use that would fit this plan well or do I need to use some other technique? Suggestions appreciated.
-Dogcow "moof!"
Visit The Underground (http://theunderground.eon.com.au)
Is there another keyboard listener that I can use that would fit this plan well or do I need to use some other technique? Suggestions appreciated.
-Dogcow "moof!"
Visit The Underground (http://theunderground.eon.com.au)