Sign in
third-party-mirror
/
orbit
/
refs/heads/master
/
.
/
qt-everywhere-src-5.15.1
/
qtdeclarative
/
src
/
quickshapes
/
shaders
/
radialgradient.vert
blob: 3350b0675a4360645e17d5a0a7be90f5717b42e7 [
file
] [
log
] [
blame
]
attribute vec4 vertexCoord
;
attribute vec4 vertexColor
;
uniform mat4 matrix
;
uniform vec2 translationPoint
;
varying vec2 coord
;
void
main
()
{
coord
=
vertexCoord
.
xy
-
translationPoint
;
gl_Position
=
matrix
*
vertexCoord
;
}