An Intersection Test for Arbitrary Rectangular Prisms
Have you ever had two arbitrarily rotated and sized rectangular prisms, and wanted to check if they’re intersecting? I know I have! Just an old AABB won’t do the trick, as very snug fitting rectangular prisms need to be detected and dismissed. There are some dastardly configurations (for instance, imagine a very very small rectangular prism sitting just above the surface of a massive and highly skewed rectangular prism) which also need to be sussed out.
It turned out to be a surprisingly tricky problem, and I had to pull a lot of different things from a lot different places together to get it working.
I wrote this story in my final year of high school. It's about life-extension, death, and purpose. Jeez, teenage Sean, don't cut yourself with that edge!
We blossom and flourish as leaves on the tree, and wither and perish—but naught changeth thee.
This is a play I wrote in 2010. I am proud to say it was selected as the best play in the state of NSW and performed professionally in a program called Writers OnStage.
It's about a young man returning from war to a world he doesn't recognise. It's strange to read, all these years later, but some of the jokes still make me laugh.