Added 3d drawing stuff but it does z-ordering instead...