We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b6db09e + 4a1ef16 commit eaaebaaCopy full SHA for eaaebaa
1 file changed
differ/shapes/Polygon.hx
@@ -53,7 +53,7 @@ class Polygon extends Shape {
53
/** Test for a collision with a ray. */
54
override public function testRay( ray:Ray, ?into:RayCollision ) : RayCollision {
55
56
- return SAT2D.testRayVsPolygon(ray, this);
+ return SAT2D.testRayVsPolygon(ray, this, into);
57
58
} //testRay
59
0 commit comments