Skip to content

Commit 93044e7

Browse files
committed
comment BoxCircleSweep2
1 parent 3893338 commit 93044e7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

box_circle_sweep2.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import (
66
"github.com/setanarut/v"
77
)
88

9+
// BoxCircleSweep2 checks for collision between a moving AABB and a moving Circle.
10+
//
11+
// Returns true if collision occurs during movement, false otherwise.
912
func BoxCircleSweep2(a *AABB, b *Circle, deltaA, deltaB v.Vec, h *Hit) bool {
1013
relDelta := deltaB.Sub(deltaA)
1114

0 commit comments

Comments
 (0)