Run the following commands on command-line: $ g++ main.cpp -o main -lGL -lGLU -lglut $ ./main
Keybinds for camera control:
- letter 'p' - Pause or resume camera's rotation
- Left arrow key - Moves the camera to left
- Right arrow key - Moves the camera to right
- Up arrow key - Moves the camera vertically upwards
- Down arrow key - Moves the camera vertically downwards.
Run the following commands on command-line: $ g++ main2.cpp -o main2 -lGL -lGLU -lglut $ ./main2
Keybinds for robot control:
- Left/Right arrow key - Turns the robot left/right
- Up/Down arrow key - Moves the robot forwards/backwards