@@ -47,8 +47,9 @@ const kStairFaces: readonly FaceDefinition[] = [
4747 uvs : [ [ 0 , 0.5 ] , [ 0 , 1 ] , [ 1 , 1 ] , [ 1 , 0.5 ] ]
4848 } ,
4949 {
50- // Inner riser at z=0.5, y=0.5..1, facing NegZ (always visible)
51- face : 6 as FACE ,
50+ // Inner riser at z=0.5, y=0.5..1, facing NegZ (always visible — interior face)
51+ face : FACE . NegZ ,
52+ cull : null ,
5253 normal : [ 0 , 0 , - 1 ] ,
5354 vertices : [ [ 1 , 0.5 , 0.5 ] , [ 0 , 0.5 , 0.5 ] , [ 0 , 1 , 0.5 ] , [ 1 , 1 , 0.5 ] ] ,
5455 uvs : [ [ 1 , 0 ] , [ 0 , 0 ] , [ 0 , 0.5 ] , [ 1 , 0.5 ] ]
@@ -249,15 +250,17 @@ const kStairCornerOuterFaces: readonly FaceDefinition[] = [
249250 uvs : [ [ 0.5 , 0.5 ] , [ 0.5 , 1 ] , [ 1 , 1 ] , [ 1 , 0.5 ] ]
250251 } ,
251252 {
252- // Inner riser at x=0.5, y=0.5..1, z=0..0.5 (right side of upper block, facing PosX, always visible)
253- face : 6 as FACE ,
253+ // Inner riser at x=0.5, y=0.5..1, z=0..0.5 (right side of upper block, facing PosX, always visible — interior face)
254+ face : FACE . PosX ,
255+ cull : null ,
254256 normal : [ 1 , 0 , 0 ] ,
255257 vertices : [ [ 0.5 , 0.5 , 0.5 ] , [ 0.5 , 0.5 , 0 ] , [ 0.5 , 1 , 0 ] , [ 0.5 , 1 , 0.5 ] ] ,
256258 uvs : [ [ 0.5 , 0.5 ] , [ 0 , 0.5 ] , [ 0 , 1 ] , [ 0.5 , 1 ] ]
257259 } ,
258260 {
259- // Inner riser at z=0.5, y=0.5..1, x=0..0.5 (back side of upper block, facing PosZ, always visible)
260- face : 6 as FACE ,
261+ // Inner riser at z=0.5, y=0.5..1, x=0..0.5 (back side of upper block, facing PosZ, always visible — interior face)
262+ face : FACE . PosZ ,
263+ cull : null ,
261264 normal : [ 0 , 0 , 1 ] ,
262265 vertices : [ [ 0 , 0.5 , 0.5 ] , [ 0.5 , 0.5 , 0.5 ] , [ 0.5 , 1 , 0.5 ] , [ 0 , 1 , 0.5 ] ] ,
263266 uvs : [ [ 0 , 0.5 ] , [ 0.5 , 0.5 ] , [ 0.5 , 1 ] , [ 0 , 1 ] ]
0 commit comments