Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Merge branch 'master' into lighthouse

bhbr98982d20e0ff
diff --cc topics/geometry.py
index 080ca2120,2c242b819..343a9f70d
--- a/topics/geometry.py
+++ b/topics/geometry.py
@@@ -141,15 -118,14 +139,18 @@@ class AnnularSector(VMobject)
v = last_point - first_point
radial_unit_vector = v/np.linalg.norm(v)
arc_center = first_point - self.inner_radius * radial_unit_vector
+ return arc_center
++<<<<<<< HEAD
+ def move_arc_center_to(self,point):
+ v = point - self.get_arc_center()
+ self.shift(v)
+ return self
- # radial_unit_vector = np.array([np.cos(self.start_angle),
- # np.sin(self.start_angle), 0])
- # arc_center = inner_arc_start_point - inner_arc.radius * radial_unit_vector
- return arc_center
++=======
++>>>>>>> master
class Sector(AnnularSector):
CONFIG = {