We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e712a64 commit a152002Copy full SHA for a152002
echo/util/SAT.hx
@@ -362,6 +362,9 @@ class SAT {
362
363
var tr = Polygon.get_from_rect(r);
364
var col = polygon_and_polygon(tr, p, flip);
365
+
366
+ if (col == null) return null;
367
368
if (flip) col.sb = r;
369
else col.sa = r;
370
tr.put();
haxelib.json
@@ -5,8 +5,8 @@
5
"description": "Simple Physics Library written in Haxe",
6
"contributors": ["austineast"],
7
"url": "https://austineast.dev/echo",
8
- "releasenote": "fixed getting polygons with vertices",
9
- "version": "1.1.1",
+ "releasenote": "fixed rect and polygon null ref error",
+ "version": "1.1.2",
10
"dependencies": {
11
"hxmath": ""
12
}
0 commit comments