davepagurek / GLExplore

GL tests
2 stars 0 forks source link

Invert key directions. #21

Closed armcburney closed 7 years ago

armcburney commented 7 years ago

Inverts the key directions so that movement is relative to the user's keypad.

abhimadan commented 7 years ago

We actually need to change directions based on the direction being looked at (so the vector cameraTarget - cameraPos). For example, try changing cameraPos passed to the Lambertian ctor in main.cpp with (0, 0, -20).

pbardea commented 7 years ago

This should be resolved by #24. Closing for now.