We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3893338 commit 93044e7Copy full SHA for 93044e7
1 file changed
box_circle_sweep2.go
@@ -6,6 +6,9 @@ import (
6
"github.com/setanarut/v"
7
)
8
9
+// BoxCircleSweep2 checks for collision between a moving AABB and a moving Circle.
10
+//
11
+// Returns true if collision occurs during movement, false otherwise.
12
func BoxCircleSweep2(a *AABB, b *Circle, deltaA, deltaB v.Vec, h *Hit) bool {
13
relDelta := deltaB.Sub(deltaA)
14
0 commit comments