mirror of
https://github.com/3b1b/manim.git
synced 2026-04-26 03:00:23 -04:00
ThreeDMobject color fix
This commit is contained in:
@@ -44,7 +44,7 @@ class ThreeDCamera(CameraWithPerspective):
|
||||
if should_shade_in_3d(vmobject):
|
||||
return self.get_shaded_rgb(rgb, self.get_unit_normal_vect(vmobject))
|
||||
else:
|
||||
return color
|
||||
return rgb
|
||||
|
||||
def get_stroke_rgb(self, vmobject):
|
||||
return self.modified_rgb(vmobject, vmobject.get_stroke_rgb())
|
||||
|
||||
Reference in New Issue
Block a user