Reorganize how shader files sit in the shaders folder

This commit is contained in:
Grant Sanderson
2021-01-05 23:14:16 -08:00
parent 6486938c59
commit 065df65cf1
34 changed files with 56 additions and 59 deletions

View File

@ -209,10 +209,10 @@ class SurfaceExample(Scene):
# https://commons.wikimedia.org/wiki/File:The_earth_at_night.jpg
# and make sure they are available in whatever folder manim
# looks for images, then uncomment the lines below
surfaces = [
TexturedSurface(surface, "EarthTextureMap", "NightEarthTextureMap")
for surface in [sphere, torus1, torus2]
]
# surfaces = [
# TexturedSurface(surface, "EarthTextureMap", "NightEarthTextureMap")
# for surface in [sphere, torus1, torus2]
# ]
for mob in surfaces:
mob.mesh = SurfaceMesh(mob)