Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 11, 2024
1 parent 24bf441 commit 4786631
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,16 @@ struct ForceConePythonVisitor
.def("toWrenchCone", &toWrenchCone, "Returns *this as a WrenchCone.")

.def("RegularCone",
(ForceCone(*)(const Scalar, const VectorD &,
const int))&ForceCone::RegularCone,
(ForceCone(*)(const Scalar, const VectorD &, const int)) &
ForceCone::RegularCone,
bp::args("mu", "direction", "num rays"),
"Generates a regular linear cone from a given number of rays, a "
"main direction and a friction "
"coefficient.")
.def("RegularCone",
(ForceCone(*)(const Scalar, const VectorD &, const int,
const Scalar))&ForceCone::RegularCone,
const Scalar)) &
ForceCone::RegularCone,
bp::args("mu", "direction", "num rays", "angle offset"),
"Generates a regular linear cone from a given number of rays, a "
"main direction and a friction "
Expand Down

0 comments on commit 4786631

Please sign in to comment.