Push all mention of the #INSERT convention to a note in the insert file

This commit is contained in:
Grant Sanderson
2021-01-07 16:16:20 -08:00
parent 5eee39803f
commit 7b8677fd6c
15 changed files with 14 additions and 39 deletions

View File

@ -29,9 +29,8 @@ out vec2 uv_coords;
out vec2 uv_b2;
out float bezier_degree;
// To my knowledge, there is no notion of #include for shaders,
// so to share functionality between this and others, the caller
// in manim replaces this line with the contents of named file
// Analog of import for manim only
#INSERT quadratic_bezier_geometry_functions.glsl
#INSERT get_gl_Position.glsl
#INSERT get_unit_normal.glsl