A generic 3D engine I've been working on.