fix(web): thin out card mesh thickness

This commit is contained in:
2026-08-15 12:10:41 +08:00
parent 82a4f9b645
commit 7ff8e3c51d
+2 -2
View File
@@ -22,8 +22,8 @@ import {
const CARD_LENGTH = 2; const CARD_LENGTH = 2;
/** Corner radius as a fraction of the shorter card edge. */ /** Corner radius as a fraction of the shorter card edge. */
const CORNER_RADIUS = 0.05; const CORNER_RADIUS = 0.05;
/** Thickness of the card. */ /** Thickness of the card, as a fraction of its length (real cards are ~0.3%). */
const CARD_THICKNESS = 0.06; const CARD_THICKNESS = 0.01;
// A 1x1 transparent placeholder so `useTexture` always receives a valid URL. // A 1x1 transparent placeholder so `useTexture` always receives a valid URL.
// Without it, the face/back hooks would be called conditionally, which breaks // Without it, the face/back hooks would be called conditionally, which breaks