도머 폴리곤 순서 재정렬
This commit is contained in:
parent
e71729be41
commit
cf10561512
@ -907,6 +907,7 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
|
||||
actualSize: toFixedWithoutRounding(actualBottomOffsetLength, 1) * 10,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
attributes: {
|
||||
planeSize: toFixedWithoutRounding(extraOffsetHeight, 1) * 10,
|
||||
@ -1005,9 +1006,9 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
|
||||
)
|
||||
}
|
||||
|
||||
addLengthText(leftPentagon)
|
||||
addLengthText(rightPentagon)
|
||||
addLengthText(offsetPolygon)
|
||||
// addLengthText(leftPentagon)
|
||||
// addLengthText(rightPentagon)
|
||||
// addLengthText(offsetPolygon)
|
||||
|
||||
const groupPolygon = offsetPolygon ? [leftPentagon, rightPentagon, offsetPolygon] : [leftPentagon, rightPentagon]
|
||||
|
||||
@ -1183,9 +1184,9 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
|
||||
|
||||
rightPoints = [
|
||||
{ x: points[0].x, y: points[0].y },
|
||||
{ x: points[3].x, y: points[0].y - (points[1].y - points[0].y) },
|
||||
{ x: points[3].x, y: points[0].y - (points[2].y - points[0].y) },
|
||||
{ x: points[0].x, y: points[0].y - (points[2].y - points[0].y) },
|
||||
{ x: points[3].x, y: points[0].y - (points[2].y - points[0].y) },
|
||||
{ x: points[3].x, y: points[0].y - (points[1].y - points[0].y) },
|
||||
]
|
||||
|
||||
groupPoints = [
|
||||
@ -1208,12 +1209,12 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
|
||||
|
||||
rightPoints = [
|
||||
{ x: points[0].x, y: points[0].y },
|
||||
{ x: points[0].x - (points[1].y - points[0].y), y: points[0].y + (points[0].x - points[1].x) },
|
||||
{ x: points[0].x - (points[1].y - points[0].y) - (points[2].y - points[1].y), y: points[0].y },
|
||||
{
|
||||
x: points[0].x - (points[1].y - points[0].y) - (points[2].y - points[1].y),
|
||||
y: points[0].y + (points[0].x - points[1].x),
|
||||
},
|
||||
{ x: points[0].x - (points[1].y - points[0].y) - (points[2].y - points[1].y), y: points[0].y },
|
||||
{ x: points[0].x - (points[1].y - points[0].y), y: points[0].y + (points[0].x - points[1].x) },
|
||||
]
|
||||
|
||||
groupPoints = [
|
||||
@ -1242,12 +1243,12 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
|
||||
|
||||
rightPoints = [
|
||||
{ x: points[0].x, y: points[0].y },
|
||||
{ x: points[0].x + (points[1].y - points[0].y), y: points[0].y - (points[0].x - points[1].x) },
|
||||
{ x: points[0].x + (points[1].y - points[0].y) + (points[2].y - points[1].y), y: points[0].y },
|
||||
{
|
||||
x: points[0].x + (points[1].y - points[0].y) + (points[2].y - points[1].y),
|
||||
y: points[0].y - (points[0].x - points[1].x),
|
||||
},
|
||||
{ x: points[0].x + (points[1].y - points[0].y) + (points[2].y - points[1].y), y: points[0].y },
|
||||
{ x: points[0].x + (points[1].y - points[0].y), y: points[0].y - (points[0].x - points[1].x) },
|
||||
]
|
||||
|
||||
groupPoints = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user