added tests to some test cases
This commit is contained in:
@@ -106,6 +106,7 @@ func IntervalDistance(p1min, p1max, p2min, p2max float32) float32 {
|
||||
}
|
||||
}
|
||||
|
||||
// returns intersect, will intersect, translation.Scale(minimum_interval_distance)
|
||||
func PolyPolyIntersection(p1 Polygon2d, v1 Vector2d, p2 Polygon2d) (bool, bool, Vector2d) {
|
||||
// p1 is moving v1, p2 is stationary
|
||||
intersect := true
|
||||
|
||||
Reference in New Issue
Block a user