Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix Prism rendering with wrong dimensions in OpenGL (#4003)

Luka Rahne2f02eb93286d
diff --git a/manim/mobject/three_d/three_dimensions.py b/manim/mobject/three_d/three_dimensions.py
index 5732ebb98..d87bf420f 100644
--- a/manim/mobject/three_d/three_dimensions.py
+++ b/manim/mobject/three_d/three_dimensions.py
@@ -517,7 +517,8 @@ class Cube(VGroup):
self.add(face)
- init_points = generate_points
+ def init_points(self) -> None:
+ self.generate_points()
class Prism(Cube):