Skip to content

Commit

Permalink
Fixed unintended changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhhelgeson committed Oct 29, 2023
1 parent 7081a81 commit a331584
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion src/sample/normalMap/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 0 additions & 5 deletions src/sample/texturedCube/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
Expand Down

0 comments on commit a331584

Please sign in to comment.