Draw a rotating cube: Difference between revisions

Content added Content deleted
(J: bugfix (restore missing line))
(J: bugfix (version dependency -- case sensitive name))
Line 1,304: Line 1,304:
r=.r, '$lowp ';f1#(*GLES_VERSION)#'lowp'
r=.r, '$lowp ';f1#(*GLES_VERSION)#'lowp'
f2=.(330<:GLSL)+.(300<:GLSL)**GLES_VERSION
f2=.(330<:GLSL)+.(300<:GLSL)**GLES_VERSION
r=.r, '$gl_fragColor';f2{'gl_fragColor';'fragColor'
r=.r, '$gl_fragColor';f2{'gl_FragColor';'fragColor'
r=.r, '$fragColor';f2#'out vec4 fragColor;'
r=.r, '$fragColor';f2#'out vec4 fragColor;'
y rplc r
y rplc r