My first 3D project! :D Move your mouse to rotate the (filled and shaded) cube. I still can't believe it actually works. Ok, so maybe the rotation isn't perfect, and the back-face culling isn't that good, but hey! It works! *dances with joy* Thanks to @raucket for inspiring me to try out some 3D! Go check out his incredible 3D projects!
100% Pen To reset the cube, press [R]. To show the fps, press [F]. Credits: -@raucket for the go to 3D block (modified by me) -I got the algorithm for finding the orientation of a set of points here: http://stackoverflow.com/questions/1165647/how-to-determine-if-a-list-of-polygon-points-are-in-clockwise-order