Fix floating point error with Poisson-disk points being sampled outside shape (#1596)

* Check opposite corner

* Commets and test

* Fix compiling

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
0HyperCube
2024-02-04 17:16:16 +00:00
committed by GitHub
co-authored by Keavon Chambers
parent 5f72a6a8a1
commit aed30d78b8
4 changed files with 16 additions and 9 deletions
Generated
+1
View File
@@ -584,6 +584,7 @@ version = "0.4.0"
dependencies = [
"dyn-any",
"glam",
"log",
"serde",
]