An Intersection Test for Arbitrary Rectangular Prisms

1 min. read Submitted 07/12/2017 Last Edited 19/02/2021 #unity #programming

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.


God Only Wise

25 min. read Submitted 05/11/2010 Last Edited 19/02/2021 #writing #creative

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.


Nuclear

17 min. read Submitted 05/11/2010 Last Edited 19/02/2021 #writing #creative

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.


Viewing 25 - 28 results of 28