Hyperspeedcube
Hyperspeedcube copied to clipboard
Error cutting piece on one of two equivalent shape definitions
TestA works fine, but TestB has error cutting piece
common = require('common')
puzzledef{
id = 'testA',
name = "testA",
ndim = 4,
build = function()
for v in cd{4, 3, 3}:expand('xoxo') do
carve(v)
-- slice{normal=v,distance=0}
add_color(v)
end
end,
}
puzzledef{
id = 'testB',
name = "testB",
ndim = 4,
build = function()
for v in cd{3, 3, 4}:expand('oxox') do
carve(v)
-- slice{normal=v,distance=0}
add_color(v)
end
end,
}
This happens in v2.0.0-pre.6