so this is a uhh 3d wireframe cube it looks weird and sometimes would make you think you're staring at an optical illusion (idk how) mode 1 is normal you can change the yaw variable to spin the cube mode 2 shows the corners mode 3 shows the top and bottom mode 4 is the same as mode 1 but the cube spins itself hides the yaw variable and shows a "delta" variable which is basically 1 divided by your fps delta is important because it lets people make something go the "same" speed even if your game has like 3000 fps instead of 30 fps
no there will not be pitch and roll because that is more complex than yaw and i did not do my calculus (i dont even do calculus;;;;) this wireframe cube creates lines that are later connected basically creating a cube