i think this could be the smallest 3d 'engine' with rotation on scratch! (unverified) i tried to use as little math as possible, and i'm proud of the results. it's only 91 blocks!