Skip to content

Commit fc2f4bf

Browse files
committed
Better Cell formatting
1 parent 63f07a4 commit fc2f4bf

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎src/components/BoardCanvas/Cells.js‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,16 @@ const Cells = ({board, layoutType, mazeType, selectedPoint, onSelectPoint /*, u
238238
args = {[colorArray, 3]}
239239
/>
240240
</boxBufferGeometry>
241+
<boxBufferGeometry
242+
attach = "geometry"
243+
args = {[.9, .4, 0.9, 18]}
244+
color = "black"
245+
>
246+
<instancedBufferAttribute
247+
attachObject = {['attributes', 'color']}
248+
args = {[colorArray, 3]}
249+
/>
250+
</boxBufferGeometry>
241251
{/* <meshStandardMaterial */}
242252
{/* attach = "material" */}
243253
{/* color = "black" */}

0 commit comments

Comments
 (0)