From 65a8411801ed86720f58477b69d4afdd13203ebf Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 22 Nov 2022 10:41:38 +0100 Subject: [PATCH] remove debug log --- js/Plane.js | 1 - js/utils.js | 1 - 2 files changed, 2 deletions(-) diff --git a/js/Plane.js b/js/Plane.js index c71adf7..af58170 100644 --- a/js/Plane.js +++ b/js/Plane.js @@ -4,7 +4,6 @@ import { textureGradient } from "./utils.js"; export class Plane extends Element { constructor(width, height, color1, color2) { super(); - console.log(width, height); const Tcolor1 = new THREE.Color(color1); const Tcolor2 = new THREE.Color(color2); diff --git a/js/utils.js b/js/utils.js index 81deb74..a32c61b 100644 --- a/js/utils.js +++ b/js/utils.js @@ -4,7 +4,6 @@ export const textureGradient = (width, height, color1, color2) => { const ctx = cnv.getContext("2d"); ctx.rect(0, 0, cnv.width, cnv.height); - console.log(width, height); const gradient = ctx.createLinearGradient(0, 0, width / 4, 15 * height); gradient.addColorStop(0, color1); gradient.addColorStop(1, color2);