How To Get The Most Out Of OpenGL With C++ And WASM
Too Long; Didn't Read
This post is meant to put out my experience of using OpenGL with C++ & WASM. The project I had done for my university was a train that translates (moves) along the x-axis, and this was supposed to be controlled by the user. The two functions would move the train forward and backward. To control the train on mobile devices, I thought it would be fun to control it using the accelerometer. The rest of the code is available in the Codebox.