remove debug log
This commit is contained in:
parent
961274e8f5
commit
65a8411801
2 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Reference in a new issue