fixes for indexing and tracking during slicing
This commit is contained in:
parent
7bb4b817fa
commit
77c8b0299c
6 changed files with 30 additions and 35 deletions
|
|
@ -385,7 +385,7 @@ kiri.load(() => {
|
|||
|
||||
stockSlices = [];
|
||||
const { x, y, z } = stock;
|
||||
const sliceCount = 10;
|
||||
const sliceCount = 20;
|
||||
const sliceWidth = stock.x / sliceCount;
|
||||
for (let i=0; i<sliceCount; i++) {
|
||||
let xmin = -(x/2) + (i * sliceWidth) + sliceWidth / 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue