Skip to content

Commit 316913c

Browse files
committed
Remove whitespace
1 parent 44db5bc commit 316913c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/webgl/material.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -282,36 +282,28 @@ p5.prototype.shader = function(s) {
282282
*
283283
* // This variable will hold our vertex shader source code
284284
* let vertSrc = `
285-
*
286285
* attribute vec3 aPosition;
287286
* attribute vec2 aTexCoord;
288287
* uniform mat4 uProjectionMatrix;
289288
* uniform mat4 uModelViewMatrix;
290289
* varying vec2 vTexCoord;
291290
*
292291
* void main() {
293-
*
294292
* vTexCoord = aTexCoord;
295-
*
296293
* vec4 position = vec4(aPosition, 1.0);
297-
*
298294
* gl_Position = uProjectionMatrix * uModelViewMatrix * position;
299295
* }
300296
* `;
301297
*
302298
* // This variable will hold our fragment shader source code
303299
* let fragSrc = `
304-
*
305300
* precision mediump float;
306301
*
307302
* varying vec2 vTexCoord;
308303
*
309304
* void main() {
310-
*
311305
* vec2 uv = vTexCoord;
312-
*
313306
* vec3 color = vec3(uv.x, uv.y, min(uv.x + uv.y, 1.0));
314-
*
315307
* gl_FragColor = vec4(color, 1.0);
316308
* }
317309
* `;

0 commit comments

Comments
 (0)