updated
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ class DDImporter {
|
||||
let portalPoint2 = [portalCenterPoint[0] - portal.radius*portalDirection[0], portalCenterPoint[1] - portal.radius*portalDirection[1]] ;
|
||||
alldoors.push([portalPoint1, portalPoint2])
|
||||
let allwalls_new = []
|
||||
for (let lineindex in allwalls){
|
||||
for (let lineindex = 0; lineindex < allwalls.length; lineindex+=1){
|
||||
let line = allwalls[lineindex]
|
||||
if (this.pointIsOnLine(portalCenterPoint,line)){
|
||||
let endpoint1 = this.getNearerPoint(line[0], [portalPoint1, portalPoint2])
|
||||
|
||||
Reference in New Issue
Block a user