Computer Science Homework Help

Computer Science Homework Help. Can someone Help me change this cube into a pyramid Visual Studio OpenGL C++

The code is a cube given a smiley face texture but I need it to be a pyramid, I just need to change the GLFloat vertices[] to make the cube a pyramid instead of a cube. Also need to implement the keyboard, mouse, and movement combinations below:

WASD keys: These keys should be used to control the forward, backward, left, and right motion.

QE keys: These keys should be used to control the upward and downward movement.

Mouse cursor: This should be used to change the orientation of the camera so it can look up and down or right and left.

Mouse scroll: This should be used to adjust the speed of the movement, or the speed the camera travels around the scene.

Computer Science Homework Help

 
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"