def get_mv_matrix(self): camera_position = self.target - math.normalize( self._get_camera_direction()) * self.distance return math.look_at_matrix(camera_position, self.target, up=[0, 0, 1], right=self._get_direction(self.course + 90))
def get_mv_matrix(self): camera_position = self.target - math.normalize(self._get_camera_direction()) * self.distance return math.look_at_matrix(camera_position, self.target, up=[0, 0, 1], right=self._get_direction(self.course + 90))
def get_mv_matrix(self): camera_position = self.get_position() return math.look_at_matrix(camera_position, self.target, up=[0, 0, 1], right=self._get_direction(self.course + 90))