- in PreSimulationLib modificata ottimizzazione punti di controllo
This commit is contained in:
@@ -124,14 +124,11 @@ local function GetCollisionPointsToCheck( Edge, dDepthToMachine)
|
||||
or AreSameOrOppositeVectorApprox( Edge.vtEdge, Z_AX())
|
||||
|
||||
-- aggiunta punti
|
||||
-- inizio e fine solo se lato obliquo
|
||||
table.insert( PointsToCheck, ptStart)
|
||||
if not bIsEdgeParallelToMainDirection then
|
||||
table.insert( PointsToCheck, ptStart)
|
||||
end
|
||||
table.insert( PointsToCheck, ptMid)
|
||||
if not bIsEdgeParallelToMainDirection then
|
||||
table.insert( PointsToCheck, ptEnd)
|
||||
table.insert( PointsToCheck, ptMid)
|
||||
end
|
||||
table.insert( PointsToCheck, ptEnd)
|
||||
|
||||
return PointsToCheck
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user