mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 04:23:16 +08:00
8 lines
198 B
GLSL
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;
|
|
} |