Files
manim/manimlib/shaders/scale_and_shift_point_for_frame.glsl
2020-06-01 16:21:18 -07:00

8 lines
198 B
GLSL

// Assumes the following uniforms exist in the surrounding context:
// uniform float aspect_ratio;
// TODO, rename
vec3 get_gl_Position(vec3 point){
point.x /= aspect_ratio;
return point;
}