Small todo stubs as a reminder to relpace 3d VMobject material

This commit is contained in:
Grant Sanderson 2020-02-07 09:32:38 -08:00
parent 9b3d294464
commit 050ed718e5
3 changed files with 8 additions and 0 deletions

View file

@ -4,6 +4,8 @@ from manimlib.constants import ORIGIN
from manimlib.utils.space_ops import get_unit_normal
# TODO, these ideas should be deprecated
def get_3d_vmob_gradient_start_and_end_points(vmob):
return (
get_3d_vmob_start_corner(vmob),

View file

@ -6,6 +6,9 @@ from manimlib.utils.space_ops import get_norm
from manimlib.utils.space_ops import get_unit_normal
# TODO, these ideas should be deprecated
def get_3d_vmob_gradient_start_and_end_points(vmob):
return (
get_3d_vmob_start_corner(vmob),

View file

@ -8,6 +8,9 @@ from manimlib.utils.space_ops import z_to_vector
##############
# TODO, replace these with a special 3d type, not VMobject
class ThreeDVMobject(VMobject):
CONFIG = {
"shade_in_3d": True,