Good evening, all you lovely logic gates, flickering out there in the dark. How about a challenge tonight?
You have a freshly generated cube sitting in front of you, aligned to the world axes (or axiseseses, if you prefer). You want this cube standing on one corner, with the opposite corner directly above it. How do you rotate the cube?
Simple, right?
@PixelAndPolyCurator yeah, I can see why rotating 2x45 would be infeasible then, and the fact that the question was posed was a hint towards exactly that. I didn't have anything handy to test the math for a proper solution though, so I kept my mouth shut about it
@elfi Partial point score for recognizing a trap. ;)