Skip to content

Commit

Permalink
Match: Fixed paddle skins causing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
okbrandon committed Nov 14, 2024
1 parent 8ced8af commit 2d19868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Profile/content/DisplaySkin.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const DisplaySkin = ({ currentSkin }) => {
const paddleTexture = textureLoader.load(`/images/skins/${skin}`, texture => {
texture.wrapS = THREE.ClampToEdgeWrapping;
texture.wrapT = THREE.ClampToEdgeWrapping;
texture.flipY = true;
texture.flipY = false;
texture.offset.set(0.5, 0.5);
texture.repeat.set(0.1, 0.1);
texture.needsUpdate = true;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/scripts/gameShapes.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const setPaddleAttributes = (terrain, textureUrl = null) => {
const paddleTexture = textureLoader.load(`/images/skins/${textureUrl}`, texture => {
texture.wrapS = THREE.ClampToEdgeWrapping;
texture.wrapT = THREE.ClampToEdgeWrapping;
texture.flipY = true;
texture.flipY = false;
texture.offset.set(0.5, 0.5);
texture.repeat.set(0.4, 0.4);
texture.rotation = Math.PI / 2;
Expand Down

0 comments on commit 2d19868

Please sign in to comment.