代码规范:把所有的tab换成空格
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
extern float t,w;
|
||||
vec4 effect(vec4 color,Image tex,vec2 tex_coords,vec2 scr_coords){
|
||||
float x=scr_coords.x/w;
|
||||
return vec4(
|
||||
.8-x*.6,
|
||||
.3+.2*sin(t),
|
||||
.15+x*.7,
|
||||
.4
|
||||
);
|
||||
float x=scr_coords.x/w;
|
||||
return vec4(
|
||||
.8-x*.6,
|
||||
.3+.2*sin(t),
|
||||
.15+x*.7,
|
||||
.4
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user