dev #232

Merged
ysCha merged 4 commits from dev into dev-deploy 2025-07-24 13:30:31 +09:00
Showing only changes of commit e14e43f778 - Show all commits

View File

@ -378,7 +378,7 @@ export const calculateIntersection = (line1, line2) => {
export const getInterSectionLineNotOverCoordinate = (line1, line2) => {
const result = intersect([line1.x1, line1.y1], [line1.x2, line1.y2], [line2.x1, line2.y1], [line2.x2, line2.y2])
if (result) {
return { x: Math.round(result[0]), y: Math.round(result[1]) }
return { x: result[0], y: result[1] }
}
return null
}