Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Added OpenGL compatibility for :class:~.Cube. (#2072)

Laith Bahodi02f1bc0bb488
diff --git a/manim/mobject/three_dimensions.py b/manim/mobject/three_dimensions.py
index c6d91998a..fcdc4ed9f 100644
--- a/manim/mobject/three_dimensions.py
+++ b/manim/mobject/three_dimensions.py
@@ -401,6 +401,8 @@ class Cube(VGroup):
self.add(face)
+ init_points = generate_points
+
class Prism(Cube):
"""A cuboid.