fishybawb
01-06-2004, 12:21 PM
Hello.
I'm new to this, so I wrote a little program to display a multicolored pyramid that rotates with the arrow keys. No problems at all, but how do I get two keys to function at the same time? I want to be able to hold the up and left keys together, to get the pyramid to rotate around the Z and Y axes simultaneously. Is this possible using the standard glutSpecialFunc? Thanks.
I'm new to this, so I wrote a little program to display a multicolored pyramid that rotates with the arrow keys. No problems at all, but how do I get two keys to function at the same time? I want to be able to hold the up and left keys together, to get the pyramid to rotate around the Z and Y axes simultaneously. Is this possible using the standard glutSpecialFunc? Thanks.