matrix: adjust set_perspective() to match gameplay3d's version