def centerOnPoint(self, pos, distance=None): #self.rotateView(45., math.degrees(math.atan(1/math.sqrt(2)))) vec = self.cameraVector() ray = Ray(pos, -vec) newPos = ray.atHeight(self.hoverHeight) log.info("Iso: centering on %s (moving to %s)", pos, newPos) self.centerPoint = newPos