mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
Fix Lighthouse
This commit is contained in:
@ -74,12 +74,14 @@ class SwitchOff(LaggedStartMap):
|
|||||||
|
|
||||||
class Lighthouse(SVGMobject):
|
class Lighthouse(SVGMobject):
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
"file_name": "lighthouse",
|
|
||||||
"height": LIGHTHOUSE_HEIGHT,
|
"height": LIGHTHOUSE_HEIGHT,
|
||||||
"fill_color": WHITE,
|
"fill_color": WHITE,
|
||||||
"fill_opacity": 1.0,
|
"fill_opacity": 1.0,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def __init__(self, **kwargs):
|
||||||
|
super().__init__("lighthouse", **kwargs)
|
||||||
|
|
||||||
def move_to(self, point):
|
def move_to(self, point):
|
||||||
self.next_to(point, DOWN, buff=0)
|
self.next_to(point, DOWN, buff=0)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user