3b1b-manim/manimlib/shaders/simple_vert.glsl

13 lines
259 B
Text
Raw Normal View History

2020-02-13 10:39:26 -08:00
#version 330
#INSERT camera_uniform_declarations.glsl
2020-02-13 10:39:26 -08:00
in vec3 point;
// Analog of import for manim only
2020-06-01 16:21:18 -07:00
#INSERT get_gl_Position.glsl
#INSERT position_point_into_frame.glsl
2020-02-13 10:39:26 -08:00
void main(){
2020-06-01 16:21:18 -07:00
gl_Position = get_gl_Position(position_point_into_frame(point));
2020-02-13 10:39:26 -08:00
}