Making progress, added a Vec3f class, working on panning in y direction as well as x