[194/906] another typo, restore old twirl fragment source
This commit is contained in:
parent
4c907f53be
commit
745a078f7f
@ -129,9 +129,7 @@ const gchar *twirl_fragment_source =
|
|||||||
" normcoord = texturecoord / tex_size - 1.0;"
|
" normcoord = texturecoord / tex_size - 1.0;"
|
||||||
" float r = length (normcoord);"
|
" float r = length (normcoord);"
|
||||||
" float phi = atan (normcoord.y, normcoord.x);"
|
" float phi = atan (normcoord.y, normcoord.x);"
|
||||||
/* height dependent rotation coeff.. why the hell this angle has
|
" phi += (1.0 - smoothstep (-0.6, 0.6, r)) * 4.8;"
|
||||||
* different effect with different sizes? */
|
|
||||||
" phi += (1.0 - smoothstep (-0.6, 0.6, r)) * height * 2.0/100.0;"
|
|
||||||
" normcoord.x = r * cos(phi);"
|
" normcoord.x = r * cos(phi);"
|
||||||
" normcoord.y = r * sin(phi);"
|
" normcoord.y = r * sin(phi);"
|
||||||
" texturecoord = (normcoord + 1.0) * tex_size;"
|
" texturecoord = (normcoord + 1.0) * tex_size;"
|
||||||
|
@ -171,7 +171,7 @@ gst_gl_differencematte_class_init (GstGLDifferenceMatteClass * klass)
|
|||||||
PROP_LOCATION,
|
PROP_LOCATION,
|
||||||
g_param_spec_string ("location",
|
g_param_spec_string ("location",
|
||||||
"Background image location",
|
"Background image location",
|
||||||
"Background image location"
|
"Background image location",
|
||||||
NULL, G_PARAM_READWRITE));
|
NULL, G_PARAM_READWRITE));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user