3D game engine written in Scala