mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-12-16 10:41:05 +00:00
larry babby and threejs for glsl
This commit is contained in:
27
webGl/my-threejs-test/node_modules/glsl-token-whitespace-trim/fixtures/base-newlines.glsl
generated
vendored
Normal file
27
webGl/my-threejs-test/node_modules/glsl-token-whitespace-trim/fixtures/base-newlines.glsl
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
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) );
|
||||
}
|
||||
Reference in New Issue
Block a user