Use BVH tree for wire intersections

This commit is contained in:
Thomas Krijnen
2018-09-12 13:26:11 +02:00
parent 229a708fc3
commit 2eaae2bda8
2 changed files with 46 additions and 10 deletions
+5 -1
View File
@@ -42,7 +42,11 @@ namespace {
}
os << message << std::endl;
if (entity) {
os << entity->toString() << std::endl;
std::string instance_string = entity->toString();
if (instance_string.size() > 259) {
instance_string = instance_string.substr(0, 256) + "...";
}
os << instance_string << std::endl;
}
}