Skip to content

Commit

Permalink
Bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
minkezhang committed Dec 31, 2022
1 parent 7d1e74a commit dc76e9b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/downflux/go-bvh v1.0.0
github.com/downflux/go-geometry v0.15.3
github.com/downflux/go-geometry v0.15.4
github.com/google/go-cmp v0.5.9
)

Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ github.com/downflux/go-geometry v0.15.2 h1:opm0LgH8p6xIt9od3ZcDxf5HSHP/GOj937s5f
github.com/downflux/go-geometry v0.15.2/go.mod h1:ZJcto0QwYRdoIbi5G4mh5y6v2xUS+d++/cANaO1F9+8=
github.com/downflux/go-geometry v0.15.3 h1:Kwr2tiozUQF/Q47pCZDRaPS+MPrV6KsC87Gm0J7p15w=
github.com/downflux/go-geometry v0.15.3/go.mod h1:ZJcto0QwYRdoIbi5G4mh5y6v2xUS+d++/cANaO1F9+8=
github.com/downflux/go-geometry v0.15.4 h1:COO+vw9M0fEoBIYrR1tY4nzWhnDNAnW1xIcf3TYKqJg=
github.com/downflux/go-geometry v0.15.4/go.mod h1:ZJcto0QwYRdoIbi5G4mh5y6v2xUS+d++/cANaO1F9+8=
github.com/downflux/go-pq v0.3.0 h1:oWLx7rzsD4fv1f2kp33NUq63CJVQvXZORkcpHr6bp9g=
github.com/downflux/go-pq v0.3.0/go.mod h1:vkc6UAQ+TBoNdTwDm5akDexE1auN2kQcR8BFw3hNCiM=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
Expand Down
4 changes: 2 additions & 2 deletions internal/kinematics/kinematics.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ func ClampFeatureCollisionVelocity(a *agent.A, f *feature.F, v vector.M) {
//
// N.B.: This may generate a velocity vector which flips back into a forbidden
// zone. In order to take this into account, the caller must do two passes,
// where the second pass calls SetCollisionVelocityStrict to force the velocity
// to zero in case of continued velocity violations.
// where the second pass calls ClampCollisionVelocity to force the velocity to
// zero in case of continued velocity violations.
func SetCollisionVelocity(a *agent.A, b *agent.A, v vector.M) {
// Find the unit collision vector pointing from a to b.
buf := vector.M{0, 0}
Expand Down

0 comments on commit dc76e9b

Please sign in to comment.