Fix constellation generation
This commit is contained in:
parent
be6277bb33
commit
16bbc243e8
@ -704,7 +704,7 @@ class ServerUniverse(folder: File? = null) : Universe(), Closeable {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
proposed != existingLine &&
|
proposed != existingLine &&
|
||||||
proposed.distanceTo(existingLine.p0) < generationInformation.minimumConstellationLineCloseness
|
existingLine.distanceTo(proposed.p0) < generationInformation.minimumConstellationLineCloseness
|
||||||
) {
|
) {
|
||||||
valid = false
|
valid = false
|
||||||
break
|
break
|
||||||
@ -712,7 +712,7 @@ class ServerUniverse(folder: File? = null) : Universe(), Closeable {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
proposed != existingLine.reverse() &&
|
proposed != existingLine.reverse() &&
|
||||||
proposed.distanceTo(existingLine.p1) < generationInformation.minimumConstellationLineCloseness
|
existingLine.distanceTo(proposed.p1) < generationInformation.minimumConstellationLineCloseness
|
||||||
) {
|
) {
|
||||||
valid = false
|
valid = false
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user