mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 04:53:34 +08:00
8 lines
196 B
GLSL
8 lines
196 B
GLSL
// Assumes the following uniforms exist in the surrounding context:
|
|
// uniform vec2 frame_shape;
|
|
// TODO, rename
|
|
|
|
vec3 get_gl_Position(vec3 point){
|
|
point.x /= aspect_ratio;
|
|
return point;
|
|
} |