Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix Cylinder.get_direction docstring (#2740)

Raghav Goel4a99cead08b5
diff --git a/manim/mobject/three_d/three_dimensions.py b/manim/mobject/three_d/three_dimensions.py
index 80aa10078..6f04b7ccf 100644
--- a/manim/mobject/three_d/three_dimensions.py
+++ b/manim/mobject/three_d/three_dimensions.py
@@ -687,6 +687,7 @@ class Cylinder(Surface):
self._rotate_to_direction()
def get_direction(self):
+ """Returns the direction of the central axis of the cylinder."""
return self.direction