修复:拉槽时精度要求太高导致的槽生成错误

pull/853/head
ChenX 5 years ago
parent f8fbe51a58
commit b78a2bbe73

@ -838,7 +838,7 @@ export class ExtrudeSolid extends Entity
if (isParallelTo(n1, n2))
{
target = target.Clone().ClearDraw();
if (!equalv3(n1, n2))
if (!equalv3(n1, n2, 1e-6))
{
let mtx = target._Matrix;
matrixSetVector(mtx, 2, n1);

Loading…
Cancel
Save