Skip to content

Commit

Permalink
fix sort
Browse files Browse the repository at this point in the history
  • Loading branch information
MukjepScarlet committed Feb 16, 2025
1 parent 320aa62 commit a8c70a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ fun findVisiblePointFromVirtualEye(
val rays = ArrayList<ModuleDebug.DebuggedGeometry>()

val center = box.center
points.sortedBy { it.squaredDistanceTo(center) }
points.sortBy { it.squaredDistanceTo(center) }

for (spot in points) {
val vecFromEyes = spot - virtualEyes
Expand Down

0 comments on commit a8c70a1

Please sign in to comment.