添加注释

pull/59/head
ChenX 7 years ago
parent 4df2a83155
commit fa711e22a7

@ -44,13 +44,10 @@ export class Command_Trim implements Command
for (let obj of s.m_SelectList) for (let obj of s.m_SelectList)
{ {
let cu = obj.userData as Curve; let cu = obj.userData as Curve;
if (!cu) if (!cu || kniefCus.indexOf(cu) > -1) //如果对象被第一轮选中,那么不切割它
continue; continue;
if (kniefCus.indexOf(cu) > -1) let inPts: Vector3[] = [];//该线段与切割的线的交点
continue;
let inPts: Vector3[] = [];
if (kniefCus.length > 0) if (kniefCus.length > 0)
for (let icu of kniefCus) for (let icu of kniefCus)

Loading…
Cancel
Save