@@ -59,24 +59,26 @@ function Cell({
5959 />
6060 </ mesh >
6161
62- { /* X symbol */ }
62+ { /* X symbol - two crossed bars lying flat */ }
6363 { value === 'X' && (
64- < group position = { [ 0 , 0.3 , 0 ] } >
65- < mesh rotation = { [ 0 , Math . PI / 4 , 0 ] } >
66- < cylinderGeometry args = { [ 0.05 , 0.05 , 1 , 8 ] } />
64+ < group position = { [ 0 , 0.15 , 0 ] } >
65+ { /* First bar of the X - rotated 45 degrees, lying flat */ }
66+ < mesh rotation = { [ Math . PI / 2 , 0 , Math . PI / 4 ] } >
67+ < cylinderGeometry args = { [ 0.06 , 0.06 , 0.8 , 8 ] } />
6768 < meshStandardMaterial color = "#3b82f6" />
6869 </ mesh >
69- < mesh rotation = { [ 0 , - Math . PI / 4 , 0 ] } >
70- < cylinderGeometry args = { [ 0.05 , 0.05 , 1 , 8 ] } />
70+ { /* Second bar of the X - rotated -45 degrees, lying flat */ }
71+ < mesh rotation = { [ Math . PI / 2 , 0 , - Math . PI / 4 ] } >
72+ < cylinderGeometry args = { [ 0.06 , 0.06 , 0.8 , 8 ] } />
7173 < meshStandardMaterial color = "#3b82f6" />
7274 </ mesh >
7375 </ group >
7476 ) }
7577
7678 { /* O symbol */ }
7779 { value === 'O' && (
78- < mesh position = { [ 0 , 0.3 , 0 ] } rotation = { [ Math . PI / 2 , 0 , 0 ] } >
79- < torusGeometry args = { [ 0.35 , 0.05 , 16 , 32 ] } />
80+ < mesh position = { [ 0 , 0.15 , 0 ] } rotation = { [ Math . PI / 2 , 0 , 0 ] } >
81+ < torusGeometry args = { [ 0.35 , 0.06 , 16 , 32 ] } />
8082 < meshStandardMaterial color = "#ef4444" />
8183 </ mesh >
8284 ) }
0 commit comments