From a331584edd7b56bae4893c9779d5119a8c014b85 Mon Sep 17 00:00:00 2001 From: cmhhelgeson <62450112+cmhhelgeson@users.noreply.github.com> Date: Sun, 29 Oct 2023 11:43:36 -0700 Subject: [PATCH] Fixed unintended changes --- next.config.js | 3 --- src/sample/normalMap/main.ts | 1 - src/sample/texturedCube/main.ts | 5 ----- 3 files changed, 9 deletions(-) diff --git a/next.config.js b/next.config.js index decb4461..34df58c0 100644 --- a/next.config.js +++ b/next.config.js @@ -8,9 +8,6 @@ module.exports = { basePath: BASE_PATH, compress: true, reactStrictMode: true, - eslint: { - ignoreDuringBuilds: true, - }, webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => { config.module.rules.push({ test: /\.(png|jpe?g|gif|webm)$/i, diff --git a/src/sample/normalMap/main.ts b/src/sample/normalMap/main.ts index ac1812e2..18467adb 100644 --- a/src/sample/normalMap/main.ts +++ b/src/sample/normalMap/main.ts @@ -284,7 +284,6 @@ const init: SampleInit = async ({ canvas, pageState, gui }) => { function getModelMatrix() { const modelMatrix = mat4.create(); mat4.identity(modelMatrix); - mat4.rotateX(modelMatrix, 0, modelMatrix); const now = Date.now() / 1000; mat4.rotateY(modelMatrix, now * -0.5, modelMatrix); return modelMatrix; diff --git a/src/sample/texturedCube/main.ts b/src/sample/texturedCube/main.ts index 22ea658a..750ca142 100644 --- a/src/sample/texturedCube/main.ts +++ b/src/sample/texturedCube/main.ts @@ -110,11 +110,6 @@ const init: SampleInit = async ({ canvas, pageState }) => { // Fetch the image and upload it into a GPUTexture. let cubeTexture: GPUTexture; { - const url = new URL( - '../../../assets/img/Di-3d.png', - import.meta.url - ).toString(); - console.log(url); const response = await fetch( new URL('../../../assets/img/Di-3d.png', import.meta.url).toString() );