Skip to content

Commit 01e8057

Browse files
committed
fix: Bad Block Vertex instance for write430
1 parent 2101962 commit 01e8057

File tree

1 file changed

+2
-2
lines changed
  • ghengin-core/ghengin-core-indep/Ghengin/Core/Mesh

1 file changed

+2
-2
lines changed

ghengin-core/ghengin-core-indep/Ghengin/Core/Mesh/Vertex.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ instance (Block (Vertex (y:ys)), Block x) => Block (Vertex (x:y:ys)) where
9494
write140 p (Diff o) (Sin a)
9595
write140 p (Diff $ o + roundUp (sizeOf140 (Proxy @(Vertex '[x]))) (alignment140 (Proxy @(Vertex (y:ys))))) b
9696
write430 p (Diff o) (a :& b) = do
97-
write140 p (Diff o) (Sin a)
98-
write140 p (Diff $ o + roundUp (sizeOf430 (Proxy @(Vertex '[x]))) (alignment430 (Proxy @(Vertex (y:ys))))) b
97+
write430 p (Diff o) (Sin a)
98+
write430 p (Diff $ o + roundUp (sizeOf430 (Proxy @(Vertex '[x]))) (alignment430 (Proxy @(Vertex (y:ys))))) b
9999
writePacked p (Diff o) (a :& b) = do
100100
writePacked p (Diff o) (Sin a)
101101
writePacked p (Diff $ o + sizeOfPacked (Proxy @(Vertex '[x]))) b

0 commit comments

Comments
 (0)