animate/webGl/my-threejs-test/node_modules/glsl-token-whitespace-trim/fixtures/base.glsl

36 lines
289 B
Plaintext
Raw Normal View History

2024-06-24 09:24:00 +00:00
precision mediump float;
#define GLSLIFY 1
struct Thing {
float b;
float c;
}
;
vec4 someFunction (
vec2 b,
vec2 c, vec3 d
) {
return vec4( d , c.y );
}
void main(
) {
gl_FragColor = someFunction ( vec2(0), vec2(1), vec3(2) );
}