mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Fix CameraFrame interpolation
This commit is contained in:
parent
59af903f14
commit
78ac18496d
1 changed files with 4 additions and 0 deletions
|
@ -131,6 +131,10 @@ class CameraFrame(Mobject):
|
|||
def get_focal_distance(self):
|
||||
return self.focal_distance * self.get_height()
|
||||
|
||||
def interpolate(self, *args, **kwargs):
|
||||
super().interpolate(*args, **kwargs)
|
||||
self.refresh_rotation_matrix()
|
||||
|
||||
|
||||
class Camera(object):
|
||||
CONFIG = {
|
||||
|
|
Loading…
Add table
Reference in a new issue