Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Bevel cube corners (#4361)

nubDotDevcb8af6f2d097
diff --git a/manim/mobject/three_d/three_dimensions.py b/manim/mobject/three_d/three_dimensions.py
index 468cb637d..be609622d 100644
--- a/manim/mobject/three_d/three_dimensions.py
+++ b/manim/mobject/three_d/three_dimensions.py
@@ -518,6 +518,7 @@ class Cube(VGroup):
face = Square(
side_length=self.side_length,
shade_in_3d=True,
+ joint_type=LineJointType.BEVEL,
)
face.flip()
face.shift(self.side_length * OUT / 2.0)