mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 04:23:16 +08:00
14 lines
225 B
GLSL
14 lines
225 B
GLSL
#version 330
|
|
|
|
in vec3 point;
|
|
out vec3 xyz_coords;
|
|
|
|
uniform float scale_factor;
|
|
uniform vec3 offset;
|
|
|
|
#INSERT emit_gl_Position.glsl
|
|
|
|
void main(){
|
|
xyz_coords = (point - offset) / scale_factor;
|
|
emit_gl_Position(point);
|
|
} |