diff --git a/packages/frontend/assets/room/objects/tabletop-glass-picture-frame/tabletop-glass-picture-frame.blend b/packages/frontend/assets/room/objects/tabletop-glass-picture-frame/tabletop-glass-picture-frame.blend index 38a05218b6..843a3ae590 100644 Binary files a/packages/frontend/assets/room/objects/tabletop-glass-picture-frame/tabletop-glass-picture-frame.blend and b/packages/frontend/assets/room/objects/tabletop-glass-picture-frame/tabletop-glass-picture-frame.blend differ diff --git a/packages/frontend/src/utility/room/objects/tabletopGlassPictureFrame.ts b/packages/frontend/src/utility/room/objects/tabletopGlassPictureFrame.ts index bff0ad2bb0..7044a3212a 100644 --- a/packages/frontend/src/utility/room/objects/tabletopGlassPictureFrame.ts +++ b/packages/frontend/src/utility/room/objects/tabletopGlassPictureFrame.ts @@ -63,8 +63,8 @@ export const tabletopGlassPictureFrame = defineObject({ const srcWidth = tex.getSize().width; const srcHeight = tex.getSize().height; const srcAspect = srcWidth / srcHeight; - const targetWidth = remap(options.width, 0, 1, 2, 100); // 最小値(値を0にした場合)でのサイズは2cmで、最大値(値を1にした場合)でのサイズは100cmなので。比率の計算だから単位はなんでもいいけど、とにかく0が0にならない点を考慮させる必要がある - const targetHeight = remap(options.height, 0, 1, 2, 100); // 最小値(値を0にした場合)でのサイズは2cmで、最大値(値を1にした場合)でのサイズは100cmなので。比率の計算だから単位はなんでもいいけど、とにかく0が0にならない点を考慮させる必要がある + const targetWidth = remap(options.width, 0, 1, 2, 76); // 最小値(値を0にした場合)でのサイズは2cmで、最大値(値を1にした場合)でのサイズは76cmなので。比率の計算だから単位はなんでもいいけど、とにかく0が0にならない点を考慮させる必要がある + const targetHeight = remap(options.height, 0, 1, 2, 76); // 最小値(値を0にした場合)でのサイズは2cmで、最大値(値を1にした場合)でのサイズは76cmなので。比率の計算だから単位はなんでもいいけど、とにかく0が0にならない点を考慮させる必要がある const targetAspect = targetWidth / targetHeight; updateUv(srcAspect, targetAspect, options.fit);